Commit 71bb0aab21376e0908f2381ba626cf2aaad506cb
1 parent
f71c2edb
Exists in
master
and in
29 other branches
[purchase-order] Removing confirmation after change order state
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
plugins/shopping_cart/views/shopping_cart_plugin_myprofile/_orders_list.html.erb
... | ... | @@ -22,8 +22,7 @@ |
22 | 22 | hidden_field_tag(:context_to, @to) + |
23 | 23 | hidden_field_tag(:context_status, @status) + |
24 | 24 | select_tag( :order_status, options_from_collection_for_select(status_collection, :first, :last, order.status), |
25 | - :onchange => "if(confirm(#{_('Are you sure about changing this order status?').to_json}))" + | |
26 | - " this.form.submit(); else this.selectedIndex = #{order.status}" ) | |
25 | + :onchange => "this.form.submit()" ) | |
27 | 26 | %> |
28 | 27 | <% end %> |
29 | 28 | </td> | ... | ... |