diff rhodecode/templates/admin/users/user_edit_my_account.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 32cb8d45f330
children fda60c2ad65f
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/user_edit_my_account.html	Thu Apr 04 02:35:32 2013 +0200
+++ b/rhodecode/templates/admin/users/user_edit_my_account.html	Thu Apr 04 13:18:24 2013 +0200
@@ -28,7 +28,7 @@
     <!-- box / title -->
     <div class="title">
         <h5>
-        <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}" style="display: none"/>
+        <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value="" style="display: none"/>
         </h5>
          <ul class="links" style="color:#DADADA">
            <li>
@@ -268,7 +268,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');
           }