Call autoscale on the renkan editor when data are loaded.
authorymh <ymh.work@gmail.com>
Fri, 05 Apr 2013 13:57:05 +0200
changeset 140 4ed1664b6087
parent 139 9929b1447f69
child 141 64af5273ac5e
Call autoscale on the renkan editor when data are loaded.
server/src/main/webapp/static/js/corenkan.js
--- a/server/src/main/webapp/static/js/corenkan.js	Fri Apr 05 13:56:22 2013 +0200
+++ b/server/src/main/webapp/static/js/corenkan.js	Fri Apr 05 13:57:05 2013 +0200
@@ -116,6 +116,7 @@
     	console.log("State response", obj);
     	obj['_id'] = obj['id'];
     	this.project.set(obj, {validate: true});
+    	this.renkan.renderer.autoScale();
     };
     
     proto.onInternalStatusChange = function(status) {