Pman.Dialog.XtupleJournalEntry.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 09:51:05 +0000 (17:51 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 09:51:05 +0000 (17:51 +0800)
Pman.Dialog.XtupleJournalEntry.js

Pman.Dialog.XtupleJournalEntry.bjs
Pman.Dialog.XtupleJournalEntry.js

index d446555..58c678c 100644 (file)
                                     "header": "Gltrans amount",
                                     "width": 100,
                                     "xtype": "ColumnModel",
-                                    "|renderer": "function(v) { \n\n    var vv = Roo.util.Format.number(v,2);\n    if (v*1 < 0 ) {\n        return '<span color=\"red\">' + vv + '</span>';\n    }\n    return vv; \n}",
+                                    "|renderer": "function(v) { \n\n    var vv = Roo.util.Format.number(v,2);\n    if (v*1 < 0 ) {\n        return '<span style=\"color:red\">' + vv + '</span>';\n    }\n    return vv; \n}",
                                     "|xns": "Roo.grid"
                                 }
                             ]
index adef93b..930c582 100644 (file)
@@ -442,7 +442,7 @@ Pman.Dialog.XtupleJournalEntry = {
                                 
                                     var vv = Roo.util.Format.number(v,2);
                                     if (v*1 < 0 ) {
-                                        return '<span color="red">' + vv + '</span>';
+                                        return '<span style="color:red">' + vv + '</span>';
                                     }
                                     return vv; 
                                 }