fixed js bug Drupal.ajax undefined, fixe #81

This commit is contained in:
Bachir Soussi Chiadmi 2018-01-11 17:09:04 +01:00
parent a11650f2b4
commit 1eb61fe020
2 changed files with 12 additions and 10 deletions

View File

@ -519,6 +519,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){
// console.log('ajax after added filter line');
initLayout();
@ -527,6 +528,7 @@
// console.log('ajax after removed filter line');
initLayout();
};
}
};
function onLoadingContent(event){

File diff suppressed because one or more lines are too long