瀏覽代碼

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