WebUI: Properly decode strings

This commit is contained in:
brvphoenix
2021-02-19 23:54:25 -08:00
committed by Vladimir Golovnev (Glassez)
parent 529dd6e3a8
commit 59f0961594
7 changed files with 7 additions and 7 deletions

View File

@@ -29,7 +29,7 @@
}
}).activate();
window.addEvent('domready', () => {
const oldPath = decodeURIComponent(new URI().getData('oldPath'));
const oldPath = new URI().getData('oldPath');
$('rename').value = oldPath;
$('rename').focus();