From 34812971ccac8a3c20484385665fcba5a087c6e5 Mon Sep 17 00:00:00 2001 From: jean Date: Tue, 7 Aug 2012 09:04:42 +1200 Subject: [PATCH] FIX 7742 Decode the URI encoded attribute before displaying it as the value for the tree dropdown --- javascript/TreeDropdownField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/TreeDropdownField.js b/javascript/TreeDropdownField.js index 4fda1b3aa..2be99dc3d 100644 --- a/javascript/TreeDropdownField.js +++ b/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( $('') );