partkeepr

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

commit a1ea87f4cf72644432a597e3454d3e0186332263
parent 50c69eab49e242f0fadf5f770be1401ebbbcc5b5
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed,  4 Jul 2012 16:03:09 +0200

Added missing htmlEncode renderers to the stock history view.

Diffstat:
Msrc/frontend/js/Components/StockReport/StockHistoryGrid.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/frontend/js/Components/StockReport/StockHistoryGrid.js b/src/frontend/js/Components/StockReport/StockHistoryGrid.js @@ -12,6 +12,7 @@ Ext.define('PartKeepr.StockHistoryGrid', { this.columns.splice(2, 0, { header: i18n("Part"), + renderer: Ext.util.Format.htmlEncode, dataIndex: 'part_name', flex: 1, minWidth: 200 @@ -19,6 +20,7 @@ Ext.define('PartKeepr.StockHistoryGrid', { this.columns.splice(3, 0, { header: i18n("Storage Location"), + renderer: Ext.util.Format.htmlEncode, dataIndex: 'storageLocation_name', flex: 1, minWidth: 200