mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Show error text of notifications response from server
This commit is contained in:
parent
f2ac6af5ac
commit
534dd562f6
@ -78,7 +78,7 @@
|
|||||||
* @type Number
|
* @type Number
|
||||||
*/
|
*/
|
||||||
var TIMEOUT = 0;
|
var TIMEOUT = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor inits polling and installs handlers, polling frequence is passed via data-poll-interval of script tag
|
* Constructor inits polling and installs handlers, polling frequence is passed via data-poll-interval of script tag
|
||||||
*/
|
*/
|
||||||
@ -120,7 +120,7 @@
|
|||||||
_resolve();
|
_resolve();
|
||||||
self.check_browser_notify()
|
self.check_browser_notify()
|
||||||
}).sendRequest(true,'POST', function(_err){
|
}).sendRequest(true,'POST', function(_err){
|
||||||
egw.message(_err);
|
if (_err && _err.statusText) egw.message(_err.statusText);
|
||||||
_reject();
|
_reject();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user