Mercurial > lada > lada-client
changeset 1071:116b9629eb2c
Fixed mstId in new messprogramm dialog.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 07 Apr 2016 10:42:08 +0200 |
parents | 33927274f013 |
children | 78ef9b52510e |
files | app/view/form/Messprogramm.js |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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');