From bce575ee68ff08a3a2604cd6cc4ec1601e4b6cae Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 6 Dec 2009 14:26:50 +0000 Subject: [PATCH] - Fix priority column data being displayed when adding a new torrent and when priority column is hidden (queueing system disabled) is disabled (Web UI) --- src/webui/scripts/dynamicTable.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/webui/scripts/dynamicTable.js b/src/webui/scripts/dynamicTable.js index 00501f4d8..fc12e41bb 100644 --- a/src/webui/scripts/dynamicTable.js +++ b/src/webui/scripts/dynamicTable.js @@ -236,6 +236,11 @@ var dynamicTable = new Class ({ if(i==0) { td.adopt(new Element('img', {'src':row[i], 'class': 'statusIcon'})); } else { + if(i==2) { + // Priority + if(this.priority_hidden) + td.addClass('invisible'); + } td.set('html', row[i]); } }