+ +
diff --git a/module/company/js/dynamic.js b/module/company/js/dynamic.js index b90ab47fdf..1ae24e7e19 100644 --- a/module/company/js/dynamic.js +++ b/module/company/js/dynamic.js @@ -20,7 +20,3 @@ function changeProduct(product) link = createLink('company', 'dynamic', 'type=product¶m=' + product); location.href = link; } - -$(function(){ - if(browseType == 'bysearch') ajaxGetSearchForm(); -}) diff --git a/module/doc/js/browse.js b/module/doc/js/browse.js index 6d2c1b6e56..be2e21c800 100644 --- a/module/doc/js/browse.js +++ b/module/doc/js/browse.js @@ -27,7 +27,7 @@ $(function(){ $('#' + browseType + 'Tab').addClass('active'); if(browseType == "bysearch") { - ajaxGetSearchForm(); + $.toggleQueryBox(true); browseBySearch(); } }); diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index 10485f2573..8b66235820 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -129,7 +129,7 @@