[ARVADOS] updated: fba37ca64631be9e0bdfd17ca70d85dd2c896bfa
git at public.curoverse.com
git at public.curoverse.com
Thu May 15 11:10:10 EDT 2014
Summary of changes:
apps/workbench/app/views/pipeline_instances/show.js.erb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
via fba37ca64631be9e0bdfd17ca70d85dd2c896bfa (commit)
from ea9592e911a3ccdbbbfeed8812b67e968fe1cc5f (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 fba37ca64631be9e0bdfd17ca70d85dd2c896bfa
Author: Tom Clegg <tom at curoverse.com>
Date: Thu May 15 11:09:43 2014 -0400
2756: Fix ajax refresh on pipeline instance page.
diff --git a/apps/workbench/app/views/pipeline_instances/show.js.erb b/apps/workbench/app/views/pipeline_instances/show.js.erb
index 8d8292c..bdb703e 100644
--- a/apps/workbench/app/views/pipeline_instances/show.js.erb
+++ b/apps/workbench/app/views/pipeline_instances/show.js.erb
@@ -1,14 +1,14 @@
<% self.formats = [:html] %>
var new_content = "<%= escape_javascript(render template: 'pipeline_instances/show') %>";
var selected_tab_hrefs = [];
-if ($('div.body-content').html() != new_content) {
+if ($('div#page-wrapper').html() != new_content) {
$('.nav-tabs li.active a').each(function() {
selected_tab_hrefs.push($(this).attr('href'));
});
- $('div.body-content').html(new_content);
+ $('div#page-wrapper').html(new_content);
- // Show the same tabs that were active before we rewrote body-content
+ // Show the same tabs that were active before we rewrote page-wrapper
$.each(selected_tab_hrefs, function(i, href) {
$('.nav-tabs li a[href="' + href + '"]').tab('show');
});
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list