From a90c078e8469a2a76a3627a6dc9de3214e7e76dc Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 5 Oct 2017 10:21:59 +0200 Subject: [PATCH] correct reference to undefined --- www/drive/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/drive/inner.js b/www/drive/inner.js index f8ed897ed..ca8d06b9c 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -1265,7 +1265,7 @@ define([ $element.contextmenu(openTrashContextMenu); $element.data('context', $trashContextMenu); } - var isNewFolder = APP.newFolder && filesOp.comparePath(newPath, module.newFolder); + var isNewFolder = APP.newFolder && filesOp.comparePath(newPath, APP.newFolder); if (isNewFolder) { appStatus.onReady(function () { window.setTimeout(function () { displayRenameInput($element, newPath); }, 0);