B #2206: Reset button in 'Add AR' dialog freezes Sunstone (#2207)

This commit is contained in:
Abel Coronado authored and Tino Vázquez committed 2018-06-20 16:10:29 +02:00
1 parent 18f339abaf
commit 09546fb6ff
1 file changed
+1 -2
@@ -68,11 +68,10 @@ define(function(require) {
function _setup(context) {
var that = this;
Foundation.reflow(context, 'abide');
that.arTab.setup(context, "add_ar");
$('#submit_ar_reset_button', context).click(function(){
Sunstone.getDialog(DIALOG_ID).reset();
Sunstone.getDialog(DIALOG_ID).show();
});