forked from extern/egroupware
for egw.json calls in a popup we need to use jQuery object of that window, as otherwise eg. apply from server with app.$app.method to run in main window instead of popup
This commit is contained in:
parent
d63cf889b4
commit
998d568ef4
@ -87,7 +87,9 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
||||
};
|
||||
|
||||
// Send the request via AJAX using the jquery ajax function
|
||||
$j.ajax({
|
||||
// we need to use jQuery of window of egw object, as otherwise the one from main window is used!
|
||||
// (causing eg. apply from server with app.$app.method to run in main window instead of popup)
|
||||
this.egw.window.$j.ajax({
|
||||
url: this.url,
|
||||
async: this.async,
|
||||
context: this,
|
||||
|
Loading…
Reference in New Issue
Block a user