From 21e5850ee55cca3f991fa0c43b1d2effd988083c Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Mon, 14 Jul 2014 02:45:39 -0300 Subject: [PATCH] adding js resources to jsp --- wise-editor/doc/ImplementingPersistence.md | 2 +- wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp | 6 +++++- wise-webapp/src/main/webapp/jsp/mindmapEmbed.jsp | 6 +++++- wise-webapp/src/main/webapp/jsp/mindmapPrint.jsp | 6 +++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/wise-editor/doc/ImplementingPersistence.md b/wise-editor/doc/ImplementingPersistence.md index 25d42e19..71f61140 100644 --- a/wise-editor/doc/ImplementingPersistence.md +++ b/wise-editor/doc/ImplementingPersistence.md @@ -57,7 +57,7 @@ function createStorageManager(mindplot) { In your script for loading the mindmap you add a call to the callback into the loadcomplete method:: - $(document).addEvent('loadcomplete', function(resource) { + $(document).on('loadcomplete', function(resource) { //Asset.javascript("{{ asset('bundles/fpgadmin/js/FpgMindmapPersistence.js')}}"); // Options has been defined in by a external ile ? var options = { diff --git a/wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp b/wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp index 235549b1..8b675080 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp @@ -18,8 +18,12 @@ + + + + + - diff --git a/wise-webapp/src/main/webapp/jsp/mindmapEmbed.jsp b/wise-webapp/src/main/webapp/jsp/mindmapEmbed.jsp index 5540536f..0a519bae 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapEmbed.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapEmbed.jsp @@ -18,8 +18,12 @@ + + + + + - diff --git a/wise-webapp/src/main/webapp/jsp/mindmapPrint.jsp b/wise-webapp/src/main/webapp/jsp/mindmapPrint.jsp index 74684898..7c3d7d98 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapPrint.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapPrint.jsp @@ -48,8 +48,12 @@ + + + + + -