forked from extern/egroupware
Fix intermittent issue with missing window breaking ajax
This commit is contained in:
parent
998d568ef4
commit
f6526a30e8
@ -89,7 +89,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
||||
// Send the request via AJAX using the jquery ajax function
|
||||
// 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({
|
||||
(this.egw.window?this.egw.window.$j:$j).ajax({
|
||||
url: this.url,
|
||||
async: this.async,
|
||||
context: this,
|
||||
|
Loading…
Reference in New Issue
Block a user