projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00a889d
)
2985: forgot to use ruby's cool syntax
author
radhika <radhika@curoverse.com>
Tue, 29 Jul 2014 15:03:37 +0000
(11:03 -0400)
committer
radhika <radhika@curoverse.com>
Tue, 29 Jul 2014 15:03:37 +0000
(11:03 -0400)
apps/workbench/app/views/application/_choose.js.erb
patch
|
blob
|
history
diff --git
a/apps/workbench/app/views/application/_choose.js.erb
b/apps/workbench/app/views/application/_choose.js.erb
index 0f5b65462e0bc3fb25319e1b243c1dfcbb948c6e..58ebc6f57e9a58b250887088fe089007ef799573 100644
(file)
--- a/
apps/workbench/app/views/application/_choose.js.erb
+++ b/
apps/workbench/app/views/application/_choose.js.erb
@@
-1,8
+1,4
@@
-<%
- if params['move_items']
- session[:selected_move_items] = params['move_items']
- end
-%>
+<% session[:selected_move_items] = params['move_items'] if params['move_items'] %>
$('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').