mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #12075 from cyrillefr/Actions-dropdown-should-not-open-automatically-after-shipping-the-order
Actions dropdown should stay closed after shipping order
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
%i.icon-check
|
||||
= I18n.t 'admin.actions'
|
||||
%i{ "data-dropdown-target": "arrow", "data-expanded-class": "icon-caret-up", "data-collapsed-class": "icon-caret-down" }
|
||||
%div.menu{"data-dropdown-target": "menu"}
|
||||
%div.menu.hidden{"data-dropdown-target": "menu"}
|
||||
- order_links(@order).each do |link|
|
||||
- if link[:name] == t(:ship_order)
|
||||
%a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { "modal-link-target-value": dom_id(@order, :ship), "action": "click->modal-link#open", "controller": "modal-link" } }
|
||||
|
||||
Reference in New Issue
Block a user