From db4040af63bad08044d7a509b267d702f74c0b28 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 17 Nov 2010 15:14:35 +0800 Subject: [PATCH] Pman.Gnumeric.js --- Pman.Gnumeric.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index 299aeaa4..5e299e64 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -974,12 +974,11 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { 'font-weight' : function(ent,v) { if (v != 'bold') return; ent['Bold'] = 1; + }, + 'font-style' : function(ent,v) { + if (v != 'italic') return; + ent['Italic'] = 1; } - //FontItalic : function(ent,v) { - // if (v*0 < 1) return; - // //ent['font-weight'] = 'bold'; - //}, - } var fent = { -- 2.39.2