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

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

Fixed parseInt radix
Enrico Berti пре 13 година
родитељ
комит
438a645ceb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/filebrowser/src/filebrowser/templates/listdir_components.mako

+ 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);
       }
     };