// search type in BO

This commit is contained in:
Rémi Gaillard
2013-10-28 15:32:26 +01:00
parent 0aea146a4c
commit 1454a0d26a
+6 -2
View File
@@ -283,6 +283,11 @@
$('#bo_query').attr("placeholder",$(this).data('placeholder'));
$('#bo_query').focus();
});
{if isset($search_type) && $search_type}
$(document).ready(function() {
$('.search-option a[data-value='+{$search_type|intval}+']').click();
});
{/if}
</script>
<!-- js
@@ -294,7 +299,6 @@
OK - set active on right list item
OK - focus input field
OK - change place holder
- use change for first init
- clear search
(?) - keep focus state when keyword exists
@@ -369,4 +373,4 @@
<body{if isset($lite_display) && $lite_display} class="display-modal"{/if}>
<div id="main">
<div id="content" class="page-content">
{/if}
{/if}