Changeset - f9c8929d3348
[Not reviewed]
default
0 1 0
Takumi IINO - 11 years ago 2014-07-21 17:46:21
trot.thunder@gmail.com
templates: replace YUI with jquery in kallithea/templates/admin/my_account/my_account_watched.html
1 file changed with 7 insertions and 7 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/my_account/my_account_watched.html
Show inline comments
 
@@ -82,26 +82,26 @@ function table_renderer(data){
 
              failure : myDataTable.onDataReturnInitializeTable,
 
              scope   : myDataTable,
 
              argument: state
 
          });
 

	
 
      };
 
      YUE.on('q_filter','click',function(){
 
          if(!YUD.hasClass('q_filter', 'loaded')){
 
      $('#q_filter').click(function(){
 
          if(!$('#q_filter').hasClass('loaded')){
 
              //TODO: load here full list later to do search within groups
 
              YUD.addClass('q_filter', 'loaded');
 
              $('#q_filter').addClass('loaded');
 
          }
 
       });
 
      });
 

	
 
      YUE.on('q_filter','keyup',function (e) {
 
      $('#q_filter').keyup(function(){
 
          clearTimeout(filterTimeout);
 
          filterTimeout = setTimeout(updateFilter,600);
 
      });
 

	
 
      if(YUD.get('q_filter').value) {
 
        updateFilter();
 
      if($('#q_filter').val()) {
 
          updateFilter();
 
      }
 

	
 
    }
 

	
 
table_renderer(${c.data |n});
 
</script>
0 comments (0 inline, 0 general)