Author: FabianLange
Date: 2010-01-21 11:21:00 +0100 (Thu, 21 Jan 2010)
New Revision: 26968

Modified:
   branches/1.2/lib/debug/sfWebDebug.class.php
Log:
[1.2] backport of r26957 fix for web debug toolbar handling svg elements

Modified: branches/1.2/lib/debug/sfWebDebug.class.php
===================================================================
--- branches/1.2/lib/debug/sfWebDebug.class.php 2010-01-21 09:26:57 UTC (rev 
26967)
+++ branches/1.2/lib/debug/sfWebDebug.class.php 2010-01-21 10:21:00 UTC (rev 
26968)
@@ -255,7 +255,7 @@
   var j = objColl.length;
   for (var i = 0; i < j; i++) {
     if(objColl[i].className == undefined) continue;
-    var arrObjClass = objColl[i].className.split(' ');
+    var arrObjClass = objColl[i].className.split ? 
objColl[i].className.split(' ') : [];
     if (delim == ' ' && arrClass.length > arrObjClass.length) continue;
     var c = 0;
     comparisonLoop:

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.


Reply via email to