File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ window.RecurringSelectDialog =
14
14
$('body').on 'click.recurring_select_cancel', (e) =>
15
15
unless $(e.target).closest('.rs_dialog_content').length
16
16
@cancel(e)
17
- $('body').off('click.recurring_select_cancel')
18
17
19
18
20
19
initDialogBox: ->
@@ -67,6 +66,7 @@ window.RecurringSelectDialog =
67
66
e.preventDefault() if e
68
67
@outer_holder.remove()
69
68
@recurring_selector.recurring_select('cancel')
69
+ $('body').off('click.recurring_select_cancel')
70
70
71
71
outerCancel: (event) =>
72
72
if $(event.target).hasClass("rs_dialog_holder")
@@ -76,6 +76,7 @@ window.RecurringSelectDialog =
76
76
return if !@current_rule.str?
77
77
@outer_holder.remove()
78
78
@recurring_selector.recurring_select('save', @current_rule)
79
+ $('body').off('click.recurring_select_cancel')
79
80
80
81
# ========================= Init Methods ===============================
81
82
You can’t perform that action at this time.
0 commit comments