client/js/paper-renderer.js
changeset 282 12ee99b182cd
parent 281 9ff388c9bc8d
child 283 67f3a24a7c01
--- a/client/js/paper-renderer.js	Mon Apr 28 16:11:21 2014 +0200
+++ b/client/js/paper-renderer.js	Mon Apr 28 17:40:41 2014 +0200
@@ -1797,7 +1797,7 @@
         bindClick(".Rk-ZoomFit", "autoScale");
         this.$.find(".Rk-ZoomSave").click( function() {
         	// Save scale and offset point
-        	_this.renkan.project.addView( { id:Rkns.Utils.getUID('view'), zoom_level:_this.scale, offset_x:_this.offset.x, offset_y:_this.offset.y } );
+        	_this.renkan.project.addView( { zoom_level:_this.scale, offset_x:_this.offset.x, offset_y:_this.offset.y } );
             _this.$.find(".Rk-ZoomSetSaved").show();
         });
         this.$.find(".Rk-ZoomSetSaved").click( function() {