partkeepr

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

commit 29dacff1725edb8541fd4b3f727b7302ee418c9c
parent bceb72532bacbb628e1ef925545081b7cbacfb32
Author: Felicitus <felicitus@felicitus.org>
Date:   Fri, 19 Jun 2015 16:46:46 +0200

Use getId() instead of hardcoded "id" property.

Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/Editor/EditorGrid.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Editor/EditorGrid.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Editor/EditorGrid.js @@ -206,7 +206,7 @@ Ext.define('PartKeepr.EditorGrid', { * Called when an item should be edited */ _onItemEdit: function (view, record) { - this.fireEvent("itemEdit", record.get("id")); + this.fireEvent("itemEdit", record.getId()); }, /** * Called when an item was selected