From 577c483820f6f69fd3846a44f4881026ecdff919 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 18 Jun 2015 18:19:07 +0800 Subject: [PATCH] Pman.Gnumeric.js --- Pman.Gnumeric.js | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index c1011213..1357a79a 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1383,26 +1383,15 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { var value = g.value[0] == '=' ? 'CALCULATED' : g.value; -// if( -// typeof(g.styles.firstElementChild.attributes) != 'undefined' && -// typeof(g.styles.firstElementChild.attributes[12]) -// ){ -// -// } - if(value == '01/Jan/2014'){ - Roo.log(g.styles[0].firstElementChild.getAttribute('Format')); - Roo.log(value); - Roo.log(typeof(value)); - Roo.log(typeof(g.styles[0].firstElementChild.attributes[12].value)); - } - try { if( - g.styles[0].firstElementChild.getAttribute('Format') == "D\\-MMM\\-YYYY;@" + g.styles[0].firstElementChild.getAttribute('Format') == "D\\-MMM\\-YYYY;@" && + g.value[0] != '=' ){ Roo.log(value); value = 'test'; } + } catch(e) { } -- 2.39.2