Skip to content

Commit

Permalink
Bug Fixes
Browse files Browse the repository at this point in the history
DV-6736 - Fixed an issue with clearing the mobile search field and reloading the result set correctly. Also fixed the missing clear icon in the mobile search field.
DV-6728 - Fixed Anatomical diagram overlaying exercise details. Added a min-height in conjunction with height 100% to ensure the containing div for the anatomical model is tall enough.
  • Loading branch information
mfrank4101 committed Feb 10, 2022
1 parent d4a8499 commit 8d5bb44
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions jquery-ptlinked_plugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* PTLINKED Plugin - Exercise Program Library
* Customer: MDVIP
* Version: 1.0.2
* Version: 1.0.7
* Author: Mike Frank (PTLINKED, LLC.) - [email protected]
*
* Table of Contents
Expand Down Expand Up @@ -1319,6 +1319,8 @@
__page_request_values["v"] = $.trim( inp.val( ) ) ;
if( __page_request_values["v"] == "" ) {
inp.val( "" ) ;
current_index = 0 ;
routeQuery( ) ;
if( h_search_bar_clear.hasClass( "active" ) ) {
h_search_bar_clear.removeClass( "active" ) ;
}
Expand All @@ -1337,6 +1339,8 @@
__page_request_values["v"] = $.trim( m_inp.val( ) ) ;
if( __page_request_values["v"] == "" ) {
m_inp.val( "" ) ;
current_index = 0 ;
routeQuery( ) ;
if( mh_search_bar_clear.hasClass( "active" ) ) {
mh_search_bar_clear.removeClass( "active" ) ;
}
Expand Down Expand Up @@ -2060,7 +2064,7 @@
// '</button>' +
//'</div>' +
'<input label="search" type="text" class="form-control search-input__search-container" id="mheader-search" placeholder="Find an exercise program">' +
//'<div class="mheader-search-bar-clear" title="Clear search">X</div>' +
'<div class="mheader-search-bar-clear" title="Clear search">X</div>' +
'<div class="input-group-append">' +
'<button class="btn btn-secondary search-input__search-button" id="ptl-mobile_search_button" type="button">' +
'<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" class="icon icon--search">' +
Expand Down
2 changes: 1 addition & 1 deletion jquery-ptlinked_plugin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ptlinked_plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ body, html, #page-container{ height: 100%; }*/
.mobile-filter--clear.active{ display: block; cursor: pointer; color: #c54905; }
.mobile--grid_filter_clear{ font-size: 2rem; visibility: hidden; flex-grow: 3; line-height: 5.8rem; margin-left: 2rem; }
.mobile--grid_filter_clear.active{ visibility: visible; color: #c54905; cursor: pointer; }
.mobile-filter-panel{ position: absolute; top: 0rem; bottom: 0rem; left: 0rem; right: 0rem; width: 100%; height: 100%; background-color: #fff; display: none; z-index: 55; }
.mobile-filter-panel{ position: absolute; top: 0rem; bottom: 0rem; left: 0rem; right: 0rem; width: 100%; height: 100%; min-height: 820px; background-color: #fff; display: none; z-index: 55; }
ul.mobile-filter-panel_list{ list-style: none; padding: 0; margin: 0; padding: 0 5rem; }
ul.mobile-filter-panel_list li{ width: 100%; display: block; height: 70px; line-height: 50px; padding: 10px; font-size: 2.8rem; color: #717171; cursor: pointer; }
ul.mobile-filter-panel_list li.hide{ display: none; }
Expand Down
2 changes: 1 addition & 1 deletion ptlinked_plugin.min.css

Large diffs are not rendered by default.

0 comments on commit 8d5bb44

Please sign in to comment.