don't let search interfere with renaming
This commit is contained in:
parent
9d662bd337
commit
3ff0eb116b
@ -582,6 +582,7 @@ define([
|
||||
$input.on('keydown', function (e) { e.stopPropagation(); });
|
||||
|
||||
$input.on('keyup', function (e) {
|
||||
e.stopPropagation();
|
||||
if (e.which === 13) {
|
||||
removeInput(true);
|
||||
filesOp.rename(path, $input.val(), refresh);
|
||||
@ -590,7 +591,7 @@ define([
|
||||
if (e.which === 27) {
|
||||
removeInput(true);
|
||||
}
|
||||
});
|
||||
}).on('keypress', function (e) { e.stopPropagation(); });
|
||||
//$element.parent().append($input);
|
||||
$name.after($input);
|
||||
$input.focus();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user