# HG changeset patch # User Raimund Renkert # Date 1460018528 -7200 # Node ID 116b9629eb2cffa7090bc54e63d0b481caf059f6 # Parent 33927274f013bf4b41550cbe0ecdca62592f6a53 Fixed mstId in new messprogramm dialog. diff -r 33927274f013 -r 116b9629eb2c app/view/form/Messprogramm.js --- a/app/view/form/Messprogramm.js Wed Apr 06 16:43:30 2016 +0200 +++ b/app/view/form/Messprogramm.js Thu Apr 07 10:42:08 2016 +0200 @@ -454,6 +454,9 @@ var mstStore = Ext.data.StoreManager.get('messstellen'); if (!messRecord.get('owner')) { var mstId = mstStore.getById(messRecord.get('mstId')); + if (!mstId) { + return; + } var laborMstId = mstStore.getById(messRecord.get('laborMstId')); if (laborMstId) { laborMstId = laborMstId.get('messStelle');