fix notification missbehavior: show no Error/details, if no details provided

This commit is contained in:
Klaus Leithoff 2011-05-26 10:00:57 +00:00
parent 51a9326037
commit 906c0588ea

View File

@ -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()