Mercurial > kallithea
diff rhodecode/templates/admin/users/users.html @ 3665:690a955ba785 beta
use placeholders in qfilter, not the ugly JS logic
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 04 Apr 2013 13:18:24 +0200 |
parents | ec6354949623 |
children | ffd45b185016 |
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/users.html Thu Apr 04 02:35:32 2013 +0200 +++ b/rhodecode/templates/admin/users/users.html Thu Apr 04 13:18:24 2013 +0200 @@ -6,7 +6,7 @@ </%def> <%def name="breadcrumbs_links()"> - <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> ${h.link_to(_('Admin'),h.url('admin_home'))} » <span id="user_count">0</span> ${_('users')} + <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/> ${h.link_to(_('Admin'),h.url('admin_home'))} » <span id="user_count">0</span> ${_('users')} </%def> <%def name="page_nav()"> @@ -134,9 +134,6 @@ }); }; - YUE.on('q_filter','click',function(){ - YUD.get('q_filter').value = ''; - }); YUE.on('q_filter','keyup',function (e) { clearTimeout(filterTimeout);