client/js/save-once.js
changeset 320 154b121a43f1
parent 293 fba23fde14ba
child 357 70e577b0cdc6
--- a/client/js/save-once.js	Wed Jul 23 12:58:59 2014 +0200
+++ b/client/js/save-once.js	Thu Jul 24 13:18:10 2014 +0200
@@ -1,6 +1,6 @@
 /* Saves the Full JSON once */
 
-Rkns.jsonIO = function(_renkan, _opts) {
+Rkns.jsonIOSaveOnClick = function(_renkan, _opts) {
     var _proj = _renkan.project,
         _saveWarn = false,
         _onLeave = function() {
@@ -36,8 +36,8 @@
             success: function(data, textStatus, jqXHR) {
                 $(window).off("beforeunload", _onLeave);
                 _saveWarn = false;
-                document.location.hash = "#id=" + data.id;
-                $(".Rk-Notifications").text("Saved as "+document.location.href).fadeIn().delay(2000).fadeOut();
+                //document.location.hash = "#id=" + data.id;
+                //$(".Rk-Notifications").text("Saved as "+document.location.href).fadeIn().delay(2000).fadeOut();
             }
         });
     };