From: Sam Stenvall Date: Tue, 5 Aug 2014 13:07:57 +0000 (+0300) Subject: [idnode] properly make columns uneditable when they're readonly X-Git-Tag: v4.1~1637 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0956101299d653727032acaa175eb31505e00dd1;p=thirdparty%2Ftvheadend.git [idnode] properly make columns uneditable when they're readonly This prevents e.g. text columns to become oddly grey when double-clicked --- diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index ee24c258f..5527af625 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -148,6 +148,7 @@ tvheadend.IdNodeField = function(conf) header: this.text, editor: this.editor({create: false}), renderer: this.renderer(), + editable: !this.rdonly, hidden: this.hidden, filter: { type: ftype,