mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-27 15:53:19 +01:00
fix notification missbehavior: show no Error/details, if no details provided
This commit is contained in:
parent
51a9326037
commit
906c0588ea
@ -94,7 +94,14 @@ function egw_fw(_sidemenuId, _tabsId, _splitterId, _webserverUrl, _sideboxSizeCa
|
||||
|
||||
egw_fw.prototype.alertHandler = function(_message, _details)
|
||||
{
|
||||
alert('Error:\n ' + _message + '\n\nDetails:\n ' + _details);
|
||||
if (_details)
|
||||
{
|
||||
alert('Error:\n ' + _message + '\n\nDetails:\n ' + _details);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(_message);
|
||||
}
|
||||
}
|
||||
|
||||
egw_fw.prototype.callManual = function()
|
||||
|
Loading…
Reference in New Issue
Block a user