mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
update to !==
This commit is contained in:
parent
855c9480b7
commit
89dc8be9f5
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ FileActions.register('all', 'Rename', OC.PERMISSION_UPDATE, function () {
|
|||
|
||||
FileActions.register('dir', 'Open', OC.PERMISSION_READ, '', function (filename) {
|
||||
var dir = $('#dir').val()
|
||||
if (dir != '/') {
|
||||
if (dir !== '/') {
|
||||
dir = dir + '/';
|
||||
}
|
||||
window.location = OC.linkTo('files', 'index.php') + '?dir=' + encodeURIComponent(dir + filename);
|
||||
|
|
|
|||
Loading…
Reference in a new issue