Compare commits

...
Author SHA1 Message Date
Bachir Soussi Chiadmi 1eb61fe020 fixed js bug Drupal.ajax undefined, fixe #81 2018-01-11 17:09:04 +01:00
2 changed files with 12 additions and 10 deletions
@@ -519,6 +519,7 @@
}); });
// @see http://www.jaypan.com/tutorial/calling-function-after-ajax-event-drupal-7 // @see http://www.jaypan.com/tutorial/calling-function-after-ajax-event-drupal-7
if(typeof Drupal.ajax !== "undefined"){
Drupal.ajax.prototype.commands.ajaxAfterAddedFilterLine = function(ajax, response, status){ Drupal.ajax.prototype.commands.ajaxAfterAddedFilterLine = function(ajax, response, status){
// console.log('ajax after added filter line'); // console.log('ajax after added filter line');
initLayout(); initLayout();
@@ -527,6 +528,7 @@
// console.log('ajax after removed filter line'); // console.log('ajax after removed filter line');
initLayout(); initLayout();
}; };
}
}; };
function onLoadingContent(event){ function onLoadingContent(event){
File diff suppressed because one or more lines are too long