Update of 
/var/cvs/contributions/CMSContainer/cmsc/sitemanagement/src/webapp/editors/site
In directory 
james.mmbase.org:/tmp/cvs-serv22959/cmsc/sitemanagement/src/webapp/editors/site

Modified Files:
      Tag: b1_4
        portletediting.js.jsp 
Log Message:
CMSC-1059 The portlet edit iframe is empty when using a browser based on Webkit 
-> fixed boolean compare


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/sitemanagement/src/webapp/editors/site
See also: http://www.mmbase.org/jira/browse/CMSC-1059


Index: portletediting.js.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/sitemanagement/src/webapp/editors/site/portletediting.js.jsp,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -u -b -r1.6.2.2 -r1.6.2.3
--- portletediting.js.jsp       5 Sep 2008 15:03:17 -0000       1.6.2.2
+++ portletediting.js.jsp       22 Sep 2008 12:35:41 -0000      1.6.2.3
@@ -77,7 +77,7 @@
 
   var agt = navigator.userAgent.toLowerCase();
   var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
-  var is_webkit = (agt.indexOf('webkit'));
+  var is_webkit = (agt.indexOf('webkit') != -1);
   if (is_ie || is_webkit)
     iframe.src = '<cmsc:staticurl page='/editors/empty.html' />';
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to