mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Merge pull request #10838 from Piccirello/webui-rename-char-encoding
Fix WebUI encoding of special characters
This commit is contained in:
commit
5e76f7d699
@ -33,7 +33,7 @@
|
|||||||
var name = new URI().getData('name');
|
var name = new URI().getData('name');
|
||||||
// set text field to current value
|
// set text field to current value
|
||||||
if (name)
|
if (name)
|
||||||
$('rename').value = escapeHtml(decodeURIComponent(name));
|
$('rename').value = decodeURIComponent(name);
|
||||||
|
|
||||||
$('rename').focus();
|
$('rename').focus();
|
||||||
$('renameButton').addEvent('click', function(e) {
|
$('renameButton').addEvent('click', function(e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user