mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix Array has no method match, if egw_framework::message() is called in GET request
This commit is contained in:
parent
e30adcba12
commit
d28583a3a4
@ -230,7 +230,8 @@
|
||||
// display a message
|
||||
if (egw_script.getAttribute('data-message'))
|
||||
{
|
||||
egw(window).message(JSON.parse(egw_script.getAttribute('data-message')));
|
||||
var params = JSON.parse(egw_script.getAttribute('data-message')) || [''];
|
||||
egw(window).message.apply(egw(window), params);
|
||||
}
|
||||
// hide location bar for mobile browsers
|
||||
if (egw_script.getAttribute('data-mobile'))
|
||||
|
Loading…
Reference in New Issue
Block a user