set/rule/rule_form.rb in card-mod-rules-0.11.3 vs set/rule/rule_form.rb in card-mod-rules-0.11.4

- old
+ new

@@ -39,19 +39,18 @@ raise "invalid rule_form type: #{form_type}; has to be overlay or modal" end def edit_rule_form success_view, &block @rule_context ||= card - @edit_rule_success = edit_rule_success(success_view) + @edit_rule_success = edit_rule_success success_view action_args = { action: :update, no_mark: true } card_form action_args, rule_form_args, &block end def rule_form_args { class: "card-rule-form", "data-slotter-mode": "update-origin" } end def edit_rule_success view="overlay_rule" - { id: @rule_context.name.url_key, - view: view } + { mark: @rule_context.name.url_key, view: view } end end