--- a/server/pom.xml Tue Mar 26 19:12:05 2013 +0100
+++ b/server/pom.xml Tue Mar 26 19:22:27 2013 +0100
@@ -85,6 +85,7 @@
<directory>../client/js</directory>
<includes>
<include>i18n.js</include>
+ <include>defaults.js</include>
<include>full-json.js</include>
<include>*-bin.js</include>
<include>models.js</include>
--- a/server/src/main/webapp/WEB-INF/templates/renkanProjectEdit.html Tue Mar 26 19:12:05 2013 +0100
+++ b/server/src/main/webapp/WEB-INF/templates/renkanProjectEdit.html Tue Mar 26 19:22:27 2013 +0100
@@ -15,6 +15,7 @@
<script src="lib/backbone-relational.js" th:src="@{/static/lib/backbone-relational.js}"></script>
<script src="lib/paper.js" th:src="@{/static/lib/paper.js}"></script>
<script src="js/main.js" th:src="@{/static/js/main.js}"></script>
+ <script src="js/defaults.js" th:src="@{/static/js/defaults.js}"></script>
<script src="js/i18n.js" th:src="@{/static/js/i18n.js}"></script>
<script src="js/models.js" th:src="@{/static/js/models.js}"></script>
<script src="js/twitter-bin.js" th:src="@{/static/js/twitter-bin.js}"></script>
--- a/server/src/main/webapp/WEB-INF/templates/renkanProjectPublish.html Tue Mar 26 19:12:05 2013 +0100
+++ b/server/src/main/webapp/WEB-INF/templates/renkanProjectPublish.html Tue Mar 26 19:22:27 2013 +0100
@@ -13,6 +13,7 @@
<script src="lib/backbone-relational.js" th:src="@{/static/lib/backbone-relational.js}"></script>
<script src="lib/paper.js" th:src="@{/static/lib/paper.js}"></script>
<script src="js/main.js" th:src="@{/static/js/main.js}"></script>
+ <script src="js/defaults.js" th:src="@{/static/js/defaults.js}"></script>
<script src="js/i18n.js" th:src="@{/static/js/i18n.js}"></script>
<script src="js/models.js" th:src="@{/static/js/models.js}"></script>
<script src="js/full-json.js" th:src="@{/static/js/full-json.js}"></script>
@@ -23,7 +24,8 @@
$(function() {
_renkan = new Rkns.Renkan({
static_url:/*[[@{/static/}]]*/ "",
- read_only: true,
+ editor_mode: false,
+ show_bins: false,
url: /*[[@{/rest/projects/}+${project.id}]]*/ "../metadataplayer/json/renkan.json",
property_files: [
/*[[@{/static/data/properties.json}]]*/ "data/properties.json",