server/src/main/webapp/WEB-INF/templates/renkanProjectEdit.html
changeset 109 b6b20e8c4a1a
parent 97 f7d611f50e58
child 115 e905eb562074
child 123 daa99448319d
--- a/server/src/main/webapp/WEB-INF/templates/renkanProjectEdit.html	Fri Mar 22 05:32:19 2013 +0100
+++ b/server/src/main/webapp/WEB-INF/templates/renkanProjectEdit.html	Mon Mar 25 05:55:28 2013 +0100
@@ -23,6 +23,14 @@
         <script src="js/list-bin.js" th:src="@{/static/js/list-bin.js}"></script>
         <script src="js/paper-renderer.js" th:src="@{/static/js/paper-renderer.js}"></script>
         <script type="text/javascript" src="js/config.js" th:src="@{/static/js/config.js}"></script>
+        <script type="text/javascript" th:inline="javascript">
+            var cowebConfig = {
+        	    baseUrl: window.location.protocol + '//' + window.location.host,
+        	    adminUrl : dojoConfig.baseUrl+'admin',
+        	    debug: /*[[${coweb_debug}]]*/false,
+        	    useWebSockets: /*[[${coweb_websockets}]]*/false
+        	};
+        </script>
         <script type="text/javascript" src="lib/dojo/dojo.js" data-dojo-config="isDebug: true, parseOnLoad: true" th:src="@{/static/lib/dojo/dojo.js}"></script>                
         <script type="text/javascript" th:inline="javascript">
             $(function() {