Changeset - f900bcadd20a
[Not reviewed]
default
0 1 0
Takumi IINO - 11 years ago 2014-08-21 05:16:51
trot.thunder@gmail.com
templates: attach click .show_more handler in kallithea/templates/journal/journal_data.html
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/journal/journal_data.html
Show inline comments
 
@@ -39,19 +39,24 @@
 
  ${c.journal_pager.pager('$link_previous ~2~ $link_next')}
 
  </div>
 
    <script type="text/javascript">
 
    $(document).ready(function(){
 
        $('#journal').on('click','.pager_link',function(e){
 
            ypjax(e.target.href,"journal",function(){
 
                show_more_event();
 
                tooltip_activate();
 
                show_changeset_tooltip();
 
            });
 
            e.preventDefault();
 
        });
 
        $('#journal').on('click','.show_more',function(e){
 
            var el = e.target;
 
            $('#'+el.id.substring(1)).show();
 
            $(el.parentNode).hide();
 
        });
 
    });
 
    </script>
 
%else:
 
  <div style="padding:5px 0px 10px 10px;">
 
      ${_('No entries yet')}
 
  </div>
 
%endif
0 comments (0 inline, 0 general)