File diff suppressed because one or more lines are too long
@@ -24,7 +24,7 @@ MaterioSearchApiAjax = function(){
|
||||
|
||||
$('#materio-search-api-search-form').bind('submit', function(event) {
|
||||
// trace('search submited', event);
|
||||
var $this = $(this);
|
||||
// var $this = $(this);
|
||||
setTimeout(function(){
|
||||
loadResults(getSearchKeys());
|
||||
},10);
|
||||
@@ -122,7 +122,7 @@ MaterioSearchApiAjax = function(){
|
||||
$.getJSON(url,
|
||||
function(json){
|
||||
//trace('json', json);
|
||||
$.event.trigger('resultsloaded');
|
||||
$.event.trigger('loaded-content');
|
||||
_isloadingresults = false;
|
||||
$('#materio-search-api-search-form').removeClass('loading');
|
||||
changeContent(json);
|
||||
|
Reference in New Issue
Block a user