Explorar o código

[home2] Fixed pushState URL

Enrico Berti %!s(int64=9) %!d(string=hai) anos
pai
achega
a434483a6c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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')) {