|
|
@ -58,7 +58,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
$('renameButton').disabled = true; |
|
|
|
$('renameButton').disabled = true; |
|
|
|
|
|
|
|
|
|
|
|
const parentPath = window.qBittorrent.Filesystem.folderName(oldPath) |
|
|
|
const parentPath = window.qBittorrent.Filesystem.folderName(oldPath); |
|
|
|
const newPath = parentPath |
|
|
|
const newPath = parentPath |
|
|
|
? parentPath + window.qBittorrent.Filesystem.PathSeparator + newName |
|
|
|
? parentPath + window.qBittorrent.Filesystem.PathSeparator + newName |
|
|
|
: newName; |
|
|
|
: newName; |
|
|
|