소스 검색

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