fixed js bug Drupal.ajax undefined, fixe #81
This commit is contained in:
parent
a11650f2b4
commit
1eb61fe020
@ -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
Loading…
x
Reference in New Issue
Block a user