Преглед изворни кода

HUE-3153 [fb] Fix issue where history included a leading =

Johan Ahlen пре 9 година
родитељ
комит
419ed7c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/filebrowser/src/filebrowser/templates/listdir_components.mako

+ 1 - 1
apps/filebrowser/src/filebrowser/templates/listdir_components.mako

@@ -651,7 +651,7 @@ from django.utils.translation import ugettext as _
       if (path != '/filebrowser/') {
         var _basePath = '${url('filebrowser.views.view', path='')}';
         if (path.indexOf(_basePath) > -1) {
-          path = path.substr(_basePath.length - 1);
+          path = path.substr(_basePath.length);
         }
 
         // ensure no duplicates are pushed to $.totalStorage()