mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +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) {
|
function confirmFileRename(path) {
|
||||||
console.log(path)
|
console.log(path)
|
||||||
$('#renamePathInput').val(path.replace('/', ''));
|
$('#renamePathInput').val(path);
|
||||||
$('#renameNewPathInput').val(path.replace('/', ''));
|
$('#renameNewPathInput').val(path);
|
||||||
$('#renameModal').modal();
|
$('#renameModal').modal();
|
||||||
}
|
}
|
||||||
|
|
||||||
function confirmFileDelete(name) {
|
function confirmFileDelete(name) {
|
||||||
$('#deleteFileName').text(name.replace('/',''));
|
$('#deleteFileName').text(name);
|
||||||
$('#deleteConfirmModal').modal();
|
$('#deleteConfirmModal').modal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue