|
@@ -13,7 +13,6 @@ MaterioSearchApiAjax = function(){
|
|
|
*/
|
|
|
function init(){
|
|
|
//trace('init MaterioSearchApiAjax');
|
|
|
-
|
|
|
initSearchAjax();
|
|
|
initViewMode();
|
|
|
};
|
|
@@ -27,7 +26,6 @@ MaterioSearchApiAjax = function(){
|
|
|
// fulltext search form
|
|
|
$('#materio-search-api-search-form').bind('submit', function(event) {
|
|
|
// trace('search submited', event);
|
|
|
- // var $this = $(this);
|
|
|
setTimeout(function(){
|
|
|
loadResults(getSearchKeys());
|
|
|
},10);
|
|
@@ -38,7 +36,6 @@ MaterioSearchApiAjax = function(){
|
|
|
$('#materio-search-api-advanced-search-form').bind('submit', function(event) {
|
|
|
event.preventDefault();
|
|
|
// trace('advanced search submited', event);
|
|
|
- // var $this = $(this);
|
|
|
setTimeout(function(){
|
|
|
loadResults(getSearchFilters(), 'advanced');
|
|
|
},10);
|