mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 14:24:46 +02:00
Revert "Select the whole field when renaming a file."
This reverts commit b8b0e0bdf936947d0fb57167f84e8e426d7af4ab.
This commit is contained in:
parent
b8b0e0bdf9
commit
2e33b9c4e4
2
public/js/filemanager.min.js
vendored
2
public/js/filemanager.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -139,8 +139,6 @@ class ActionsClass {
|
|||||||
const inputLoader = nameBlock.find('.input-loader');
|
const inputLoader = nameBlock.find('.input-loader');
|
||||||
|
|
||||||
inputField.focus();
|
inputField.focus();
|
||||||
inputField.setSelectionRange(inputField.val().length * 2, inputField.val().length * 2);
|
|
||||||
|
|
||||||
inputField.on('blur keydown', e => {
|
inputField.on('blur keydown', e => {
|
||||||
// Save Field
|
// Save Field
|
||||||
if (
|
if (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user