client/js/main.js
changeset 471 e0c7be5dc02c
parent 455 18b9be54174d
child 472 6dcff4438175
--- a/client/js/main.js	Tue Jun 02 16:43:45 2015 +0200
+++ b/client/js/main.js	Wed Jun 03 17:27:46 2015 +0200
@@ -96,7 +96,7 @@
         var _this = this;
 
         Rkns.__renkans.push(this);
-
+        
         this.options = _.defaults(_opts, Rkns.defaults, {
             templates: renkanJST
         });
@@ -109,7 +109,9 @@
         });
 
         this.read_only = this.options.read_only || !this.options.editor_mode;
-
+        
+        this.router = new Rkns.Router();
+        
         this.project = new Rkns.Models.Project();
         this.dataloader = new Rkns.DataLoader.Loader(this.project, this.options);
 
@@ -297,7 +299,6 @@
         this.$.find(".Rk-Bins-Search-Form").submit(function() {
             return false;
         });
-
     };
 
     Renkan.prototype.translate = function(_text) {