diff --git a/deluge/ui/webui/static/deluge.js b/deluge/ui/webui/static/deluge.js index 55ad88cd3..b5dd5570d 100644 --- a/deluge/ui/webui/static/deluge.js +++ b/deluge/ui/webui/static/deluge.js @@ -15,6 +15,9 @@ state = { function $(el_id){ return document.getElementById(el_id) } +function el(el_id){ + return document.getElementById(el_id) +} function get_row(id){ return $('torrent_' + id); } diff --git a/deluge/ui/webui/templates/white/part_organize.html b/deluge/ui/webui/templates/white/part_organize.html index fae574431..74f61277a 100644 --- a/deluge/ui/webui/templates/white/part_organize.html +++ b/deluge/ui/webui/templates/white/part_organize.html @@ -43,9 +43,10 @@ $for tracker, num in filters.tracker: title="$_('Filter on a keyword')" /> $if get('keyword'): - + $_('Clear') +