1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/fcffbe5a0a4c/ Changeset: fcffbe5a0a4c User: jgoecks Date: 2013-06-18 18:43:38 Summary: Return empty string rather than None because Mako functions write by default; add comments as well. Affected #: 1 file diff -r d6d2f0287e6ff6d3dc2e4cf3ed4778b77e2abda9 -r fcffbe5a0a4c4e53d4f091df004118613abda807 templates/refresh_frames.mako --- a/templates/refresh_frames.mako +++ b/templates/refresh_frames.mako @@ -1,9 +1,11 @@ ## Include JavaScript code to refresh Galaxy application frames as needed. <%def name="handle_refresh_frames()"> + ## If no refresh frames, print nothing. <% - if not refresh_frames: return + if not refresh_frames: return '' %> + ## Write JavaScript to refresh specified frames. <script type="text/javascript"> %if 'everything' in refresh_frames: parent.location.href="${h.url_for( controller='root' )}"; Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.