mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 11:53:48 +01:00
fix bug when clicking cancel button for modal windows
This commit is contained in:
parent
0d6403e81e
commit
fcf1f9b4de
@ -158,7 +158,7 @@ jQuery.fn.dialogForm = function (options) {
|
||||
});
|
||||
|
||||
$('#' + containerId + ' .btn-cancel').click(function () {
|
||||
this.modal('hide');
|
||||
$(this).modal('hide');
|
||||
});
|
||||
|
||||
// Register enter input to submit...
|
||||
|
Loading…
Reference in New Issue
Block a user