PageRenderTime 45ms CodeModel.GetById 42ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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