mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-21 07:43:45 +02:00
Revert "Select the whole field when renaming a file."
This reverts commit b8b0e0bdf9.
This commit is contained in:
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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user