mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
Fix intermittent issue with missing window breaking ajax
This commit is contained in:
@@ -89,7 +89,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
|||||||
// Send the request via AJAX using the jquery ajax function
|
// 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!
|
// 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)
|
// (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,
|
url: this.url,
|
||||||
async: this.async,
|
async: this.async,
|
||||||
context: this,
|
context: this,
|
||||||
|
Reference in New Issue
Block a user