fix bug when clicking cancel button for modal windows

This commit is contained in:
Ezequiel Bergamaschi 2015-04-19 14:57:12 -03:00
parent db48ef67f4
commit 05e8b3e7bb

View File

@ -158,7 +158,7 @@ jQuery.fn.dialogForm = function (options) {
}); });
$('#' + containerId + ' .btn-cancel').click(function () { $('#' + containerId + ' .btn-cancel').click(function () {
this.modal('hide'); $(this).modal('hide');
}); });
// Register enter input to submit... // Register enter input to submit...