mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
--> seems to be an aftermath of the new quoting Thanks to Yudhi Kusnanto for a patch"
This commit is contained in:
parent
94c31d9508
commit
71a7c20326
@ -2004,7 +2004,7 @@ class etemplate extends boetemplate
|
||||
}
|
||||
|
||||
// replace window.open() with EGw's egw_openWindowCentered2()
|
||||
if (strpos($on,'window.open(') !== false && preg_match("/window.open\('(.*)','(.*)','dependent=yes,width=(.*),height=(.*),scrollbars=yes,status=(.*)'\)/",$on,$matches))
|
||||
if (strpos($on,'window.open(') !== false && preg_match("/window.open\('(.*)','(.*)','dependent=yes,width=([^,]*),height=([^,]*),scrollbars=yes,status=(.*)'\)/",$on,$matches))
|
||||
{
|
||||
$on = str_replace($matches[0], "egw_openWindowCentered2('$matches[1]', '$matches[2]', $matches[3], $matches[4], '$matches[5]')", $on);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user