Browse Source

HUE-6077 [frontend] Disable popstate listening on page.js to co-exist with Routie

Enrico Berti 8 years ago
parent
commit
f9b1b60
1 changed files with 3 additions and 1 deletions
  1. 3 1
      desktop/core/src/desktop/templates/hue.mako

+ 3 - 1
desktop/core/src/desktop/templates/hue.mako

@@ -854,7 +854,9 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
             console.error('Route not found', ctx);
             self.loadApp('404');
           });
-          page();
+          page({
+            popstate: false
+          });
         });
 
         huePubSub.subscribe('open.link', function (href) {