Author: leithoff
New Revision: 33086
URL: http://www.egroupware.org/viewvc/egroupware?rev=33086&view=rev
Log:
allow upper case window names too
Modified:
trunk/phpgwapi/js/jsapi/jsapi.js
Modified: trunk/phpgwapi/js/jsapi/jsapi.js
URL: http://www.egroupware.org/viewvc/egroupware/trunk/phpgwapi/js/jsapi/jsapi.js?rev=33086&r1=33085&r2=33086&view=diff
— trunk/phpgwapi/js/jsapi/jsapi.js (original)
+++ trunk/phpgwapi/js/jsapi/jsapi.js Mon Nov 22 15:47:10 2010
@@ -178,7 +178,7 @@
positionLeft = (windowWidth/2)-(_width/2)+egw_getWindowLeft();
positionTop = (windowHeight/2)-(_height/2)+egw_getWindowTop();
- if (is_ie) _windowName = windowName.replace(/[^a-z0-9]+/,’’); // IE fails, if name contains eg. a dash (-)
-
if (is_ie) _windowName = windowName.replace(/[^a-zA-Z0-9]+/,’’); // IE fails, if name contains eg. a dash (-)
windowID = window.open(_url, _windowName, “width=” + _width + “,height=” + _height +
",screenX=" + positionLeft + “,left=” + positionLeft + “,screenY=” + positionTop + “,top=” + positionTop +
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs