partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 1ea33d140627423885134e8f118167ef8ab7f80d
parent fd7b79d8d1b2a4bca099c5e9f031c2d750b805bb
Author: Felicia Hummel <felicitus@felicitus.org>
Date:   Sat, 23 Jul 2016 17:58:10 +0200

Merge pull request #689 from partkeepr/PartKeepr-674

Removed obsolete escaping, fixes #674
Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartDisplay.js | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartDisplay.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartDisplay.js @@ -175,11 +175,7 @@ Ext.define('PartKeepr.PartDisplay', { for (var i in this.fieldConfigs) { value = this.record.get(i); if (value !== undefined) { - if (typeof(value === "string")) { - values[i] = htmlentities(value); // phpjs - } else { - values[i] = value; - } + values[i] = value; } else { values[i] = i18n("none"); }