From 7edf167bfe9e5c447470011126e24819ece8b115 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Fri, 24 Apr 2015 23:51:54 -0300 Subject: [PATCH] alignment between submitDialogForm functions implementation --- wise-webapp/src/main/webapp/jsp/mindmapHistory.jsp | 3 +-- wise-webapp/src/main/webapp/jsp/mindmapImport.jsp | 2 +- wise-webapp/src/main/webapp/jsp/mindmapPublish.jsp | 2 +- wise-webapp/src/main/webapp/jsp/mindmapShare.jsp | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/wise-webapp/src/main/webapp/jsp/mindmapHistory.jsp b/wise-webapp/src/main/webapp/jsp/mindmapHistory.jsp index 365c7f4d..30d487d7 100755 --- a/wise-webapp/src/main/webapp/jsp/mindmapHistory.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapHistory.jsp @@ -68,6 +68,5 @@ } }); - var submitDialogForm = function () { - } + function submitDialogForm() {} diff --git a/wise-webapp/src/main/webapp/jsp/mindmapImport.jsp b/wise-webapp/src/main/webapp/jsp/mindmapImport.jsp index 21c11f82..c4d4e789 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapImport.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapImport.jsp @@ -122,7 +122,7 @@ }); // Hook for interaction with the main parent window ... - var submitDialogForm = function () { + function submitDialogForm() { $('#dialogMainForm').submit(); } diff --git a/wise-webapp/src/main/webapp/jsp/mindmapPublish.jsp b/wise-webapp/src/main/webapp/jsp/mindmapPublish.jsp index 4723fd89..20abea39 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapPublish.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapPublish.jsp @@ -130,7 +130,7 @@ solid black" src="${baseUrl}/c/maps/${mindmap.id}/embed?zoom=1"> </iframe& }); // Hook for interaction with the main parent window ... - var submitDialogForm = function () { + function submitDialogForm() { $('#dialogMainForm').submit(); } diff --git a/wise-webapp/src/main/webapp/jsp/mindmapShare.jsp b/wise-webapp/src/main/webapp/jsp/mindmapShare.jsp index 7b0eff2e..a1518a31 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapShare.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapShare.jsp @@ -296,7 +296,7 @@ function buildCollabModel() { } // Hook for interaction with the main parent window ... -var submitDialogForm = function () { +function submitDialogForm() { var collabs = buildCollabModel(); collabs.collaborations = jQuery.grep(collabs.collaborations, function () {