changeset 249:ca14b7c78def

Disable page state checking for now.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 30 Mar 2014 23:21:56 -0700
parents 48bd17f8a7c0
children 4d525dab3e1b
files wikked/assets/js/wikked/views.js
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/wikked/assets/js/wikked/views.js	Sat Mar 29 23:08:31 2014 -0700
+++ b/wikked/assets/js/wikked/views.js	Sun Mar 30 23:21:56 2014 -0700
@@ -332,8 +332,11 @@
                 });
             }
         },
+        _enableStateCheck: false,
         _isCheckingPageState: false,
         _checkPageState: function() {
+            if (!this._enableStateCheck)
+                return;
             this._isCheckingPageState = true;
             var $view = this;
             var statePath = this.model.checkStatePath();