소스 검색

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

Enrico Berti 8 년 전
부모
커밋
f9b1b60
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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) {