From 9f79d8f40afb6402525649ea0f6756c25e9f0ce8 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sat, 31 Jan 2015 15:32:09 -0300 Subject: [PATCH] fixing samples --- wise-editor/src/main/webapp/html/embedded.html | 9 ++------- wise-editor/src/main/webapp/html/viewmode.html | 3 +-- wise-editor/src/main/webapp/js/editor.js | 1 + 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/wise-editor/src/main/webapp/html/embedded.html b/wise-editor/src/main/webapp/html/embedded.html index bfab89a9..8a2bcae3 100644 --- a/wise-editor/src/main/webapp/html/embedded.html +++ b/wise-editor/src/main/webapp/html/embedded.html @@ -26,10 +26,8 @@ $(document).on('loadcomplete', function(resource) { // Options has been defined in by a external ile ? - var uri = new URI(window.location); - var query = String.parseQueryString(uri.get('query')); - var confUrl = query.confUrl; - + var queryString = window.location.search; + var confUrl = queryString.replace("?confUrl=", ""); var options = loadDesignerOptions(confUrl); var designer = buildDesigner(options); @@ -132,9 +130,6 @@
-
diff --git a/wise-editor/src/main/webapp/html/viewmode.html b/wise-editor/src/main/webapp/html/viewmode.html index 802af130..700917f7 100644 --- a/wise-editor/src/main/webapp/html/viewmode.html +++ b/wise-editor/src/main/webapp/html/viewmode.html @@ -16,7 +16,6 @@ - @@ -24,7 +23,7 @@