From fcf1f9b4def0e7cc1481306534e2183b0edac9cf Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sun, 19 Apr 2015 14:57:12 -0300 Subject: [PATCH] fix bug when clicking cancel button for modal windows --- wise-webapp/src/main/webapp/js/mindmapList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-webapp/src/main/webapp/js/mindmapList.js b/wise-webapp/src/main/webapp/js/mindmapList.js index 4e67b34f..e2e8020b 100644 --- a/wise-webapp/src/main/webapp/js/mindmapList.js +++ b/wise-webapp/src/main/webapp/js/mindmapList.js @@ -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...