--- a/client/js/renderer/scene.js Fri May 22 17:48:14 2015 +0200
+++ b/client/js/renderer/scene.js Mon May 25 01:18:12 2015 +0200
@@ -321,8 +321,8 @@
_thRedrawUsers();
// register model events
- this.renkan.project.on("change:save_status", function(){
- switch (_this.renkan.project.get("save_status")) {
+ this.renkan.project.on("change:saveStatus", function(){
+ switch (_this.renkan.project.get("saveStatus")) {
case 0: //clean
_this.$.find(".Rk-Save-Button").removeClass("to-save");
_this.$.find(".Rk-Save-Button").removeClass("saving");
@@ -341,8 +341,8 @@
}
});
- this.renkan.project.on("change:loading_status", function(){
- if (_this.renkan.project.get("loading_status")){
+ this.renkan.project.on("change:loadingStatus", function(){
+ if (_this.renkan.project.get("loadingStatus")){
var animate = _this.$.find(".loader").addClass("run");
var timer = setTimeout(function(){
_this.$.find(".loader").hide(250);
@@ -363,13 +363,13 @@
this.renkan.project.on("add:nodes", function(_node) {
_this.addRepresentation("Node", _node);
- if (!_this.renkan.project.get("loading_status")){
+ if (!_this.renkan.project.get("loadingStatus")){
_thRedraw();
}
});
this.renkan.project.on("add:edges", function(_edge) {
_this.addRepresentation("Edge", _edge);
- if (!_this.renkan.project.get("loading_status")){
+ if (!_this.renkan.project.get("loadingStatus")){
_thRedraw();
}
});