diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-06-28 21:00:09 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-06-28 21:00:09 +0200 |
commit | 89dc8be9f550310f86e2e7da9cdb1da630080f49 (patch) | |
tree | 1ff2b3fb6413d3a82154187b108aa52a3efdd0a1 | |
parent | 855c9480b73d0ea3f6d0562503db5d72f64c14db (diff) | |
download | nextcloud-server-89dc8be9f550310f86e2e7da9cdb1da630080f49.tar.gz nextcloud-server-89dc8be9f550310f86e2e7da9cdb1da630080f49.zip |
update to !==
-rw-r--r-- | apps/files/js/fileactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 316acda5133..fac0ed1ff9b 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -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); |