comparison app/view/form/Messprogramm.js @ 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 096d552508cd
children 61cc583c3649
comparison
equal deleted inserted replaced
1070:33927274f013 1071:116b9629eb2c
452 .synchronizeFields 452 .synchronizeFields
453 ); 453 );
454 var mstStore = Ext.data.StoreManager.get('messstellen'); 454 var mstStore = Ext.data.StoreManager.get('messstellen');
455 if (!messRecord.get('owner')) { 455 if (!messRecord.get('owner')) {
456 var mstId = mstStore.getById(messRecord.get('mstId')); 456 var mstId = mstStore.getById(messRecord.get('mstId'));
457 if (!mstId) {
458 return;
459 }
457 var laborMstId = mstStore.getById(messRecord.get('laborMstId')); 460 var laborMstId = mstStore.getById(messRecord.get('laborMstId'));
458 if (laborMstId) { 461 if (laborMstId) {
459 laborMstId = laborMstId.get('messStelle'); 462 laborMstId = laborMstId.get('messStelle');
460 } 463 }
461 else { 464 else {

http://lada.wald.intevation.org