# HG changeset patch # User Takumi IINO # Date 2014-07-21 17:46:21 # Node ID f9c8929d334827b440fe98b9312f67ebbbf224a7 # Parent a981ac4ab11ed46ee717e319b4995b3e0347f88e templates: replace YUI with jquery in kallithea/templates/admin/my_account/my_account_watched.html diff --git a/kallithea/templates/admin/my_account/my_account_watched.html b/kallithea/templates/admin/my_account/my_account_watched.html --- a/kallithea/templates/admin/my_account/my_account_watched.html +++ b/kallithea/templates/admin/my_account/my_account_watched.html @@ -85,20 +85,20 @@ function table_renderer(data){ }); }; - 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(); } }