commit 7560d83fbc38fb35a11e740064c3317c6893beb8
parent 32c565bd00beb1c9f94d296392502d2b23b714d3
Author: Felicia Hummel <felicitus@felicitus.org>
Date: Mon, 24 Oct 2016 15:48:30 +0200
Merge pull request #741 from partkeepr/PartKeepr-706
Fill data for the detail panel first, then expand it to prevent UI sc…
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartsManager.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartsManager.js
@@ -477,8 +477,8 @@ Ext.define('PartKeepr.PartManager', {
var r = selection[0];
this.detailPanel.setActiveTab(this.detail);
- this.detailPanel.expand();
this.detail.setValues(r);
+ this.detailPanel.expand();
this.stockLevel.part = r.getId();
this.tree.syncButton.enable();