[ARVADOS] updated: 9e4c1f166766dcbd0cfc8bc17ff13f7a2dc8508d
git at public.curoverse.com
git at public.curoverse.com
Tue May 27 20:01:39 EDT 2014
Summary of changes:
.../app/views/pipeline_instances/_show_components.html.erb | 2 +-
apps/workbench/app/views/users/_tables.html.erb | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
via 9e4c1f166766dcbd0cfc8bc17ff13f7a2dc8508d (commit)
from b80867f0ae046c907cbd208facf7f98bee5a4f85 (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 9e4c1f166766dcbd0cfc8bc17ff13f7a2dc8508d
Author: Tom Clegg <tom at curoverse.com>
Date: Tue May 27 20:01:22 2014 -0400
2862: Use ?format=js so browser does not think js and html views are
interchangeable. closes #2862
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 bb1f73c..c075610 100644
--- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
@@ -38,7 +38,7 @@
<%# 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' %>
+ <%= link_to '(refresh)', {format: :js}, {class: 'refresh hide', remote: true, method: 'get'} %>
</th><th>
</th><th>
output
diff --git a/apps/workbench/app/views/users/_tables.html.erb b/apps/workbench/app/views/users/_tables.html.erb
index f62bd5d..13cc673 100644
--- a/apps/workbench/app/views/users/_tables.html.erb
+++ b/apps/workbench/app/views/users/_tables.html.erb
@@ -1,7 +1,7 @@
<% if current_user.andand.is_active %>
<div>
<strong>Recent jobs</strong>
- <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
+ <%= link_to '(refresh)', {format: :js}, {class: 'refresh', remote: true, method: 'get'} %>
<%= link_to raw("Show all jobs →"), jobs_path, class: 'pull-right' %>
<% if not current_user.andand.is_active or @my_jobs.empty? %>
<p>(None)</p>
@@ -88,7 +88,7 @@
<div>
<strong>Recent pipeline instances</strong>
- <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
+ <%= link_to '(refresh)', {format: :js}, {class: 'refresh', remote: true, method: 'get'} %>
<%= link_to raw("Show all pipeline instances →"), pipeline_instances_path, class: 'pull-right' %>
<% if not current_user.andand.is_active or @my_pipelines.empty? %>
<p>(None)</p>
@@ -147,7 +147,7 @@
<div>
<strong>Recent collections</strong>
- <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
+ <%= link_to '(refresh)', {format: :js}, {class: 'refresh', remote: true, method: 'get'} %>
<%= link_to raw("Show all collections →"), collections_path, class: 'pull-right' %>
<div class="pull-right" style="padding-right: 1em; width: 30%;">
<%= form_tag collections_path,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list