Changeset 15566 for trunk/templates
- Timestamp:
- 10/09/11 00:37:28 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/scripts/BxBaseSearchResult.php
r15338 r15566 129 129 document.location = s; 130 130 } 131 function on_filter_key_up (e) { 132 if (13 == e.keyCode) { 133 $('#<?php echo $sCheckboxId; ?>').attr('checked', 'checked'); 134 on_filter_apply($('#<?php echo $sCheckboxId; ?>').get(0)); 135 } else { 136 $('#<?php echo $sCheckboxId; ?>').attr('checked', ''); 137 } 138 } 131 139 </script> 132 140 <? … … 142 150 <td> 143 151 <div class="input_wrapper input_wrapper_text"> 144 <input type="text" id="{$sInputId}" value="{$sFilterValue}" class="form_input_text" onkeyup=" $('#{$sCheckboxId}').attr('checked', '')" />152 <input type="text" id="{$sInputId}" value="{$sFilterValue}" class="form_input_text" onkeyup="on_filter_key_up(event)" /> 145 153 <div class="input_close input_close_text"> </div> 146 154 </div>
Note: See TracChangeset
for help on using the changeset viewer.