From ce6cd1211ed567c48b3ee61d6571903ff0324bde Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 7 Mar 2017 15:33:08 +0100 Subject: [PATCH] Fix lint errors --- www/drive/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/drive/main.js b/www/drive/main.js index c73271689..a85b5349a 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -249,7 +249,7 @@ define([ if (!cancel && $iframe.find('.element-row > input').length === 1) { var $input = $iframe.find('.element-row > input'); filesOp.renameElement($input.data('path'), $input.val(), function () { - refresh(); + APP.refresh(); }); } $iframe.find('.element-row > input').remove(); @@ -1780,7 +1780,7 @@ define([ if (paths.length !== 1) { return; } var onCreated = function (info) { module.newFolder = info.newPath; - module.displayDirectory(path); + module.displayDirectory(paths[0].path); }; filesOp.createNewFolder(paths[0].path, null, onCreated); }