page_node_view integration

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2013-05-24 17:58:29 +02:00
parent 13d6d3b95b
commit ee27274830
5 changed files with 38 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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);