[ARVADOS] updated: 5fdfe4ca7ea91f3da518e6b20d970bf6fcd5ba8c
git at public.curoverse.com
git at public.curoverse.com
Mon Jul 21 13:38:23 EDT 2014
Summary of changes:
apps/workbench/app/assets/javascripts/select_modal.js | 4 +---
apps/workbench/test/integration/projects_test.rb | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
via 5fdfe4ca7ea91f3da518e6b20d970bf6fcd5ba8c (commit)
via e8e0eecb50f527461216631c0e8a1888afecb812 (commit)
from d5b8f4baf23f0b79e2f9b559b1da6f8898292f9f (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 5fdfe4ca7ea91f3da518e6b20d970bf6fcd5ba8c
Author: Tom Clegg <tom at curoverse.com>
Date: Mon Jul 21 13:37:53 2014 -0400
3170: Use find().all() instead of page.all() to accommodate ajax content. refs #3170, #2044
diff --git a/apps/workbench/test/integration/projects_test.rb b/apps/workbench/test/integration/projects_test.rb
index d1bf403..af714aa 100644
--- a/apps/workbench/test/integration/projects_test.rb
+++ b/apps/workbench/test/integration/projects_test.rb
@@ -88,7 +88,7 @@ class ProjectsTest < ActionDispatch::IntegrationTest
end
def count_shares
- page.all("#project_sharing tr").size
+ find('#project_sharing').all('tr').size
end
def add_share_and_check(share_type, name)
commit e8e0eecb50f527461216631c0e8a1888afecb812
Author: Tom Clegg <tom at curoverse.com>
Date: Mon Jul 21 13:24:28 2014 -0400
3170: Fix stale use of tab_pane_valid_state. refs #3170
diff --git a/apps/workbench/app/assets/javascripts/select_modal.js b/apps/workbench/app/assets/javascripts/select_modal.js
index 8220945..cd23556 100644
--- a/apps/workbench/app/assets/javascripts/select_modal.js
+++ b/apps/workbench/app/assets/javascripts/select_modal.js
@@ -69,9 +69,7 @@ $(document).on('click', '.selectable', function() {
$(document).on('page-refresh', function(event, data, status, jqxhr, action_data) {
window.location.reload();
}).on('tab-refresh', function(event, data, status, jqxhr, action_data) {
- var tab_name = $('.tab-pane.active')[0].id;
- tab_pane_valid_state[tab_name] = false;
- ajaxRefreshTabPane(tab_name);
+ $(document).trigger('arv:pane:reload:all');
$('body > .modal-container .modal').modal('hide');
}).on('redirect-to-created-object', function(event, data, status, jqxhr, action_data) {
window.location.href = data.href.replace(/^[^\/]*\/\/[^\/]*/, '');
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list