Эх сурвалжийг харах

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

Johan Ahlen 9 жил өмнө
parent
commit
419ed7c

+ 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()