From 1df378cb3d87617909f9f5a790798db5a0f2bf4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Tue, 7 Jul 2009 20:59:31 +0000 Subject: [PATCH] Use css-defined class when hiding fields in grid (shaded grey italic) --- src/webui/static/app/acleditor.js | 2 +- src/webui/static/app/cwceditor.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webui/static/app/acleditor.js b/src/webui/static/app/acleditor.js index b9694649..0749f6bf 100644 --- a/src/webui/static/app/acleditor.js +++ b/src/webui/static/app/acleditor.js @@ -42,7 +42,7 @@ tvheadend.acleditor = function() { header: "Password", dataIndex: 'password', renderer: function(value, metadata, record, row, col, store) { - return 'hidden' + return 'Hidden'; }, editor: new fm.TextField({allowBlank: false}) },{ diff --git a/src/webui/static/app/cwceditor.js b/src/webui/static/app/cwceditor.js index 8d3dea98..94503373 100644 --- a/src/webui/static/app/cwceditor.js +++ b/src/webui/static/app/cwceditor.js @@ -27,7 +27,7 @@ tvheadend.cwceditor = function() { header: "Password", dataIndex: 'password', renderer: function(value, metadata, record, row, col, store) { - return 'hidden' + return 'Hidden'; }, editor: new fm.TextField({allowBlank: false}) },{ @@ -35,7 +35,7 @@ tvheadend.cwceditor = function() { dataIndex: 'deskey', width: 300, renderer: function(value, metadata, record, row, col, store) { - return 'hidden' + return 'Hidden'; }, editor: new fm.TextField({allowBlank: false}) },{