[ARVADOS] updated: ce5b843c32f6ee74f02a40044073dd4288d16dee

git at public.curoverse.com git at public.curoverse.com
Thu May 15 11:33:56 EDT 2014


Summary of changes:
 .../workbench/app/views/pipeline_instances/_show_components.html.erb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

       via  ce5b843c32f6ee74f02a40044073dd4288d16dee (commit)
      from  fba37ca64631be9e0bdfd17ca70d85dd2c896bfa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit ce5b843c32f6ee74f02a40044073dd4288d16dee
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu May 15 11:33:20 2014 -0400

    2756: Fix "duplicate tab" behavior in Chrome.

diff --git a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
index d935b2d..61a4ca1 100644
--- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
@@ -33,7 +33,10 @@
         script, version
       </th><th>
         progress
-        <%= link_to '(refresh)', request.fullpath, class: 'refresh hide', remote: true, method: 'get' %>
+        <%# format:'js' here helps browsers avoid using the cached js
+        content in html context (e.g., duplicate tab -> see
+        javascript) %>
+        <%= link_to '(refresh)', {format:'js'}, class: 'refresh hide', remote: true, method: 'get' %>
       </th><th>
       </th><th>
         output

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list