set/rule/rule_form/buttons.rb in card-mod-rules-0.11.3 vs set/rule/rule_form/buttons.rb in card-mod-rules-0.11.4
- old
+ new
@@ -17,11 +17,10 @@
def edit_rule_delete_button args={}
return if card.new_card?
delete_opts = {
confirm: delete_confirm(args[:fallback_set]),
- # success: @edit_rule_success,
- no_success: true,
+ success: {},
"data-slotter-mode": "silent-success",
class: "_close-#{form_type}-on-success"
}
delete_opts["data-slot-selector"] = slot_selector if args[:slot_selector]
wrap_with :span, class: "rule-delete-section" do