Pārlūkot izejas kodu

HUE-1020 [fb] On Chrome the permissions in the Change Permissions screen do not display the existing permissions

Fixed parseInt radix
Enrico Berti 13 gadi atpakaļ
vecāks
revīzija
438a645ceb

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

@@ -1085,7 +1085,7 @@ from django.utils.translation import ugettext as _
       }
 
       var octal = function (strInt) {
-        return parseInt("0" + strInt);
+        return parseInt("0" + strInt, 8);
       }
     };