[ARVADOS] updated: 00a889dfb11bd9d4edf3d18d66d9b29b69cbde77

git at public.curoverse.com git at public.curoverse.com
Tue Jul 29 10:40:08 EDT 2014


Summary of changes:
 apps/workbench/app/views/application/_choose.js.erb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

       via  00a889dfb11bd9d4edf3d18d66d9b29b69cbde77 (commit)
      from  2ff5d889c8d169a85781d13edcf7988fb94cc248 (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 00a889dfb11bd9d4edf3d18d66d9b29b69cbde77
Author: radhika <radhika at curoverse.com>
Date:   Tue Jul 29 10:38:33 2014 -0400

    2985: pass move items only when available

diff --git a/apps/workbench/app/views/application/_choose.js.erb b/apps/workbench/app/views/application/_choose.js.erb
index e641e3c..0f5b654 100644
--- a/apps/workbench/app/views/application/_choose.js.erb
+++ b/apps/workbench/app/views/application/_choose.js.erb
@@ -1,4 +1,8 @@
-<% session[:selected_move_items] = params['move_items'] %>
+<%
+  if params['move_items']
+    session[:selected_move_items] = params['move_items']
+  end
+%>
 $('body > .modal-container').html("<%= escape_javascript(render partial: 'choose.html', locals: {multiple: multiple}) %>");
 $('body > .modal-container .modal').modal('show');
 $('body > .modal-container .modal .modal-footer .btn-primary').

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list