mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fix alert("1"), caused by data-window-close being a string
This commit is contained in:
parent
3d12c2b591
commit
ccab8e0ac1
@ -101,7 +101,7 @@
|
||||
var window_close = egw_script.getAttribute('data-window-close');
|
||||
if (window_close)
|
||||
{
|
||||
if (typeof window_close == 'string' && window_close !== 'true')
|
||||
if (typeof window_close == 'string' && window_close !== '1')
|
||||
{
|
||||
alert(window_close);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user