From c22cf5cf6913952728bdc941009fe6f2b2a0e0a2 Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Sun, 22 Jun 2008 22:16:40 +0000 Subject: [PATCH] clear-button->clear image /me rants about default-buttons --- deluge/ui/webui/static/deluge.js | 3 +++ deluge/ui/webui/templates/white/part_organize.html | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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') +