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 0d6403e81e
commit fcf1f9b4de

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...