# HG changeset patch # User Marcin Kuzminski # Date 2013-04-04 11:18:24 # Node ID 690a955ba78538c674d5384ccdc49bed798b01dc # Parent b10976229890b8aa8d7031ed58d7cddd6b932ddf use placeholders in qfilter, not the ugly JS logic diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js +++ b/rhodecode/public/js/rhodecode.js @@ -699,10 +699,6 @@ var q_filter = function(target,nodes,dis var q_filter_field = YUD.get(target); var F = YAHOO.namespace(target); - YUE.on(q_filter_field,'click',function(){ - q_filter_field.value = ''; - }); - YUE.on(q_filter_field,'keyup',function(e){ clearTimeout(F.filterTimeout); F.filterTimeout = setTimeout(F.updateFilter,600); diff --git a/rhodecode/templates/admin/repos/repos.html b/rhodecode/templates/admin/repos/repos.html --- a/rhodecode/templates/admin/repos/repos.html +++ b/rhodecode/templates/admin/repos/repos.html @@ -6,7 +6,7 @@ <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} » 0 ${_('repositories')} + ${h.link_to(_('Admin'),h.url('admin_home'))} » 0 ${_('repositories')} <%def name="page_nav()"> ${self.menu('admin')} @@ -127,7 +127,6 @@ }; YUE.on('q_filter','click',function(){ if(!YUD.hasClass('q_filter', 'loaded')){ - YUD.get('q_filter').value = ''; //TODO: load here full list later to do search within groups YUD.addClass('q_filter', 'loaded'); } diff --git a/rhodecode/templates/admin/users/user_edit_my_account.html b/rhodecode/templates/admin/users/user_edit_my_account.html --- a/rhodecode/templates/admin/users/user_edit_my_account.html +++ b/rhodecode/templates/admin/users/user_edit_my_account.html @@ -28,7 +28,7 @@
- +