Browse Source

Merge pull request #10838 from Piccirello/webui-rename-char-encoding

Fix WebUI encoding of special characters
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
5e76f7d699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/rename.html

2
src/webui/www/private/rename.html

@ -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…
Cancel
Save