diff options
author | Florian Schunk <florian.schunk@rwth-aachen.de> | 2019-01-07 22:07:16 +0100 |
---|---|---|
committer | Florian Schunk <florian.schunk@rwth-aachen.de> | 2019-01-16 22:54:16 +0100 |
commit | 332b4aee9da4ffe6f7f79255ca4ce75b8a283693 (patch) | |
tree | b543244322f8c871f1c673aac456fd37eaddbf3d /apps/files/js/fileactions.js | |
parent | ecb936495f095610298c952c7c555ebb6daf1174 (diff) | |
download | nextcloud-server-332b4aee9da4ffe6f7f79255ca4ce75b8a283693.tar.gz nextcloud-server-332b4aee9da4ffe6f7f79255ca4ce75b8a283693.zip |
fix testing for undefined
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
Diffstat (limited to 'apps/files/js/fileactions.js')
-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 05efa1f36e9..ef29551c591 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -649,7 +649,7 @@ actions = OC.dialogs.FILEPICKER_TYPE_COPY_MOVE; } var dialogDir = context.dir; - if (context.fileList.dirInfo.dirLastCopiedTo != undefined) { + if (typeof context.fileList.dirInfo.dirLastCopiedTo !== 'undefined') { dialogDir = context.fileList.dirInfo.dirLastCopiedTo; } OC.dialogs.filepicker(t('files', 'Choose target folder'), function(targetPath, type) { |