save on click mode for renkan
authorcavaliet
Thu, 24 Jul 2014 16:25:52 +0200
changeset 303 88d36ba3f6c9
parent 302 106c33871db4
child 304 653194e752d8
child 308 eab6629b5b31
save on click mode for renkan
src/hdalab/templates/renkan_edit.html
--- a/src/hdalab/templates/renkan_edit.html	Wed Jul 23 12:59:35 2014 +0200
+++ b/src/hdalab/templates/renkan_edit.html	Thu Jul 24 16:25:52 2014 +0200
@@ -42,6 +42,7 @@
         
             function startRenkan(){
                 var _renkan = new Rkns.Renkan({
+                    snapshot_mode: true,
                     static_url : "{% static 'renkanmanager/lib/renkan/' %}",
                     search: [
                         {
@@ -82,7 +83,7 @@
                        node_fill_color: false*/
                     language: "fr"
                 });
-                Rkns.jsonIO(_renkan, {
+                Rkns.jsonIOSaveOnClick(_renkan, {
                     url: "{% url 'renkan_get_put' %}" + window.location.search
                 });
             };