r1855 - trunk

[email protected] Sun, 25 Apr 2010 17:43:12 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Sun Apr 25 17:43:11 2010
New Revision: 1855
URL: http://fisheye.liip.ch/changelog/BXE/?cs=1855

Log:
Fix issue with the fact that localName is lowercase in FF 3.6

Modified:
   trunk/bxeLoader.js

Modified: trunk/bxeLoader.js
==============================================================================
--- trunk/bxeLoader.js	(original)
+++ trunk/bxeLoader.js	Sun Apr 25 17:43:11 2010
@@ -96,7 +96,7 @@
 			for(var i=0; i<head.childNodes.length; i++)
 			{
 				var mozileLoaderRE = /(.*)bxeLoader.js$/;
-				if(head.childNodes[i].localName == "SCRIPT")
+				if(head.childNodes[i].localName && head.childNodes[i].localName.toLowerCase() == "script")
 				{
 					var src = head.childNodes[i].src;
 					var result = mozileLoaderRE.exec(src);
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs