Author: ralfbecker
New Revision: 33012
URL: http://www.egroupware.org/viewvc/egroupware?rev=33012&view=rev
Log:
IE fails, if windows name in egw_openWindowCentered2 contains something no a letter, number or underscore --> removing it
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=33012&r1=33011&r2=33012&view=diff
— trunk/phpgwapi/js/jsapi/jsapi.js (original)
+++ trunk/phpgwapi/js/jsapi/jsapi.js Wed Nov 17 13:31:13 2010
@@ -177,6 +177,8 @@
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 (-)
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