Fix lint errors
This commit is contained in:
parent
9ad33574e9
commit
ce6cd1211e
@ -249,7 +249,7 @@ define([
|
|||||||
if (!cancel && $iframe.find('.element-row > input').length === 1) {
|
if (!cancel && $iframe.find('.element-row > input').length === 1) {
|
||||||
var $input = $iframe.find('.element-row > input');
|
var $input = $iframe.find('.element-row > input');
|
||||||
filesOp.renameElement($input.data('path'), $input.val(), function () {
|
filesOp.renameElement($input.data('path'), $input.val(), function () {
|
||||||
refresh();
|
APP.refresh();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$iframe.find('.element-row > input').remove();
|
$iframe.find('.element-row > input').remove();
|
||||||
@ -1780,7 +1780,7 @@ define([
|
|||||||
if (paths.length !== 1) { return; }
|
if (paths.length !== 1) { return; }
|
||||||
var onCreated = function (info) {
|
var onCreated = function (info) {
|
||||||
module.newFolder = info.newPath;
|
module.newFolder = info.newPath;
|
||||||
module.displayDirectory(path);
|
module.displayDirectory(paths[0].path);
|
||||||
};
|
};
|
||||||
filesOp.createNewFolder(paths[0].path, null, onCreated);
|
filesOp.createNewFolder(paths[0].path, null, onCreated);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user