mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix order cycle advanced settings close button so it uses new remote toggle StimulusJs controller instead of old toggleSettings method
Closes #9012
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
.omega.eight.columns
|
||||
= f.check_box :automatic_notifications
|
||||
|
||||
.row
|
||||
.row{ "data-controller": "remote-toggle", "data-remote-toggle-selector-value": "#advanced_settings" }
|
||||
.sixteen.columns.alpha.omega.text-center
|
||||
%input{ type: 'submit', value: t('.save_reload') }
|
||||
%a{ href: "#", onClick: "toggleSettings()" }= t(:close)
|
||||
%a{ href: "#", "data-action": "click->remote-toggle#toggle" }= t(:close)
|
||||
|
||||
Reference in New Issue
Block a user