Pman.Gnumeric.js
authorEdward <edward@roojs.com>
Thu, 18 Jun 2015 10:17:12 +0000 (18:17 +0800)
committerEdward <edward@roojs.com>
Thu, 18 Jun 2015 10:17:12 +0000 (18:17 +0800)
Pman.Gnumeric.js

index 218ce72..a576bce 100644 (file)
@@ -1395,15 +1395,20 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
                     Roo.log(typeof(value));
                     Roo.log(typeof(g.styles[0].firstElementChild.attributes[12].value));
                 }
-                if(
-                         
+                
+                try {
+                    if(
                         g.styles[0].firstElementChild.getAttribute('Format') == "D\-MMM\-YYYY;@"
-                ){
-                    Roo.log(value);
-                    value = 'test';
+                    ){
+                        Roo.log(value);
+                        value = 'test';
+                    }
+                } catch {
+                    
                 }
                 
                 
+                
                 out+=String.format('<td colspan="{0}" rowspan="{1}"  class="{4}"><div style="{3}">{2}</div></td>', 
                     g.colspan, g.rowspan, value,
                     'overflow:hidden;' +