fixed egw_framework::message($msg, $msg_type) was not displayed on ajax-load, eg. regular et2 submit

This commit is contained in:
Ralf Becker 2013-10-03 09:09:24 +00:00
parent c4fc4699a4
commit 5778c9d964

View File

@ -620,6 +620,12 @@ function etemplate2_handle_load(_type, _response)
}
}
// handle egw_framework::message()
if (jQuery.isArray(data['message']))
{
window.egw_message.apply(window, data['message']);
}
// handle egw_framework::window_close(), this will terminate execution
if (data['window-close'])
{