completely remove dialog on cancel/continue
This commit is contained in:
parent
4d04dd9c4c
commit
02d14aee17
1 changed files with 2 additions and 1 deletions
|
@ -306,7 +306,7 @@ var OCdialogs = {
|
|||
if ( typeof controller.onCancel !== 'undefined') {
|
||||
controller.onCancel(data);
|
||||
}
|
||||
$(dialog_id).ocdialog('close');
|
||||
$(dialog_id).ocdialog('destroy').remove();
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -318,6 +318,7 @@ var OCdialogs = {
|
|||
controller.onContinue($(dialog_id + ' .conflict:not(.template)'));
|
||||
}
|
||||
$(dialog_id).ocdialog('close');
|
||||
$(dialog_id).ocdialog('destroy').remove();
|
||||
}
|
||||
}];
|
||||
|
||||
|
|
Loading…
Reference in a new issue