Skip to content
Browse files

FIX 7742 Decode the URI encoded attribute before displaying it as the…

… value for the tree dropdown
  • Loading branch information...
1 parent 9b15bac commit 34812971ccac8a3c20484385665fcba5a087c6e5 @patbolo patbolo committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/TreeDropdownField.js
View
2 javascript/TreeDropdownField.js
@@ -262,7 +262,7 @@
onadd: function() {
this._super();
- var title = this.data('title');
+ var title = decodeURIComponent(this.data('title'));
this.find('.treedropdownfield-title').replaceWith(
$('<input type="text" class="treedropdownfield-title search" />')
);

0 comments on commit 3481297

Please sign in to comment.
Something went wrong with that request. Please try again.