mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
clear-button->clear image /me rants about default-buttons
This commit is contained in:
parent
b0cc183c0c
commit
c22cf5cf69
@ -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);
|
||||
}
|
||||
|
@ -43,9 +43,10 @@ $for tracker, num in filters.tracker:
|
||||
title="$_('Filter on a keyword')"
|
||||
/>
|
||||
$if get('keyword'):
|
||||
<button onclick="document.getElementById('keyword').value=''" style="padding:0px;position:relative;top:2px">
|
||||
<img src="$base/static/images/tango/edit-clear.png" alt="$_('Clear')">
|
||||
</button>
|
||||
<img src="$base/static/images/tango/edit-clear.png" alt="$_('Clear')"
|
||||
onclick="el('keyword').value='';el('category_form').submit();"
|
||||
>
|
||||
<!--1st button widget is default , i dont want that here, using an image instead :(-->
|
||||
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user