/templates/history/grid.mako

https://bitbucket.org/cistrome/cistrome-harvard/ · Mako · 17 lines · 16 code · 1 blank · 0 comment · 2 complexity · 661e21157cb3d0ec81f2508b4d9b2cae MD5 · raw file

  1. <%inherit file="../grid_base.mako"/>
  2. <%def name="grid_javascripts()">
  3. ${parent.grid_javascripts()}
  4. <script type="text/javascript">
  5. %if refresh_frames:
  6. %if 'history' in refresh_frames:
  7. if ( parent.frames && parent.frames.galaxy_history ) {
  8. parent.frames.galaxy_history.location.href="${h.url_for( controller='root', action='history')}";
  9. if ( parent.force_right_panel ) {
  10. parent.force_right_panel( 'show' );
  11. }
  12. }
  13. %endif
  14. %endif
  15. </script>
  16. </%def>