partkeepr

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

commit 422b5d96f06a934ab8129eea725210ab3bbcdb90
parent f2af2af0fc7612af71a1d4a94a5aff32ccff9598
Author: Felicia Hummel <felicia@partkeepr.com>
Date:   Mon, 30 Jan 2017 16:33:41 +0100

Save values to the record prior retrieving OctoPart data, fixes #773

Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditorWindow.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditorWindow.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditorWindow.js @@ -136,6 +136,7 @@ Ext.define('PartKeepr.PartEditorWindow', { }, onOctoPartClick: function () { if (PartKeepr.isOctoPartAvailable()) { + this.editor.getForm().updateRecord(); this.octoPartQueryWindow = Ext.create("PartKeepr.Components.OctoPart.SearchWindow"); this.octoPartQueryWindow.show(); this.octoPartQueryWindow.setPart(this.editor.record);