mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
dashboard: fix old hack for removing root slash
This commit is contained in:
parent
406e475ecb
commit
a385ae7d1f
1 changed files with 3 additions and 3 deletions
|
@ -274,13 +274,13 @@
|
|||
|
||||
function confirmFileRename(path) {
|
||||
console.log(path)
|
||||
$('#renamePathInput').val(path.replace('/', ''));
|
||||
$('#renameNewPathInput').val(path.replace('/', ''));
|
||||
$('#renamePathInput').val(path);
|
||||
$('#renameNewPathInput').val(path);
|
||||
$('#renameModal').modal();
|
||||
}
|
||||
|
||||
function confirmFileDelete(name) {
|
||||
$('#deleteFileName').text(name.replace('/',''));
|
||||
$('#deleteFileName').text(name);
|
||||
$('#deleteConfirmModal').modal();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue