[stable16] Properly load permissions in showActions (#16282)
[stable16] Properly load permissions in showActions
This commit is contained in:
commit
3ffd5b0a14
1 changed files with 1 additions and 1 deletions
|
@ -1805,7 +1805,7 @@
|
|||
* @return permission value as integer
|
||||
*/
|
||||
getDirectoryPermissions: function() {
|
||||
return parseInt(this.$el.find('#permissions').val(), 10);
|
||||
return this && this.dirInfo && this.dirInfo.permissions ? this.dirInfo.permissions : parseInt(this.$el.find('#permissions').val(), 10);
|
||||
},
|
||||
/**
|
||||
* Changes the current directory and reload the file list.
|
||||
|
|
Loading…
Reference in a new issue