소스 검색

[home2] Fixed pushState URL

Enrico Berti 9 년 전
부모
커밋
a434483a6c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/core/src/desktop/templates/home2.mako

+ 1 - 1
desktop/core/src/desktop/templates/home2.mako

@@ -265,7 +265,7 @@ ${ fileBrowser.fileBrowser() }
       var viewModel = new HomeViewModel(options);
 
       viewModel.activeEntry.subscribe(function (newEntry) {
-        hueUtils.changeURL('/home2?path=' + newEntry.path);
+        hueUtils.changeURL('/home?path=' + newEntry.path);
       });
       var loadUrlParam = function () {
         if (location.getParameter('path')) {