Changeset - 766ed8058a4a
[Not reviewed]
default
0 1 0
Takumi IINO - 11 years ago 2014-07-21 17:46:19
trot.thunder@gmail.com
templates: replace YUI with jquery in kallithea/templates/admin/admin_log.html
1 file changed with 13 insertions and 14 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/admin_log.html
Show inline comments
 
@@ -39,20 +39,19 @@
 

	
 
<script type="text/javascript">
 
  $(document).ready(function(){
 
    YUE.delegate("user_log","click",function(e, matchedEl, container){
 
        ypjax(e.target.href,"user_log",function(){
 
            show_more_event();
 
            tooltip_activate();
 
            show_changeset_tooltip();
 
        });
 
        YUE.preventDefault(e);
 
    },'.pager_link');
 

	
 
    YUE.delegate("user_log","click",function(e,matchedEl,container){
 
          var el = e.target;
 
          YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
 
          YUD.setStyle(el.parentNode,'display','none');
 
      },'.show_more');
 
    $('#user_log').on('click','.pager_link',function(e){
 
      ypjax(e.target.href,"user_log",function(){
 
        show_more_event();
 
        tooltip_activate();
 
        show_changeset_tooltip();
 
      });
 
      e.preventDefault();
 
    });
 
    $('#user_log').on('click','.show_more',function(e){
 
      var el = e.target;
 
      $('#'+el.id.substring(1)).show();
 
      $(el.parentNode).hide();
 
    });
 
  });
 
</script>
 

	
0 comments (0 inline, 0 general)