From 4ebf04bb550d61ac946220e88e25df6984eab8cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Mon, 29 Jun 2009 15:23:47 +0000 Subject: [PATCH] Hide sensitive fields in CW client config editor grid. --- src/webui/static/app/cwceditor.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/webui/static/app/cwceditor.js b/src/webui/static/app/cwceditor.js index 76fd27b4..8d3dea98 100644 --- a/src/webui/static/app/cwceditor.js +++ b/src/webui/static/app/cwceditor.js @@ -26,11 +26,17 @@ tvheadend.cwceditor = function() { },{ header: "Password", dataIndex: 'password', + renderer: function(value, metadata, record, row, col, store) { + return 'hidden' + }, editor: new fm.TextField({allowBlank: false}) },{ header: "DES Key", dataIndex: 'deskey', width: 300, + renderer: function(value, metadata, record, row, col, store) { + return 'hidden' + }, editor: new fm.TextField({allowBlank: false}) },{ header: "Comment",