Mercurial > lada > lada-client
diff app/controller/form/Messprogramm.js @ 1359:49efc1cc0eac
Remove trailing whitespace.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 07 Feb 2017 18:50:32 +0100 |
parents | 2e462c5334f1 |
children | b58868c47f02 |
line wrap: on
line diff
--- a/app/controller/form/Messprogramm.js Tue Feb 07 18:31:58 2017 +0100 +++ b/app/controller/form/Messprogramm.js Tue Feb 07 18:50:32 2017 +0100 @@ -316,7 +316,7 @@ if ( (desk.layer === 0 ) && (records[0].get('sn') === 0) ){ mediatext.setValue(''); } else { - if ( current[1] === '01') { + if ( current[1] === '01') { if ( (current[4] !== '00') && (desk.layer === 3) ) { mediatext.setValue(records[0].data.beschreibung); } else if ( (current[3] !== '00') && (desk.layer === 2) ) { @@ -325,15 +325,15 @@ mediatext.setValue(records[0].data.beschreibung); } else if ( (current[1] !== '00') && (desk.layer === 0 )) { mediatext.setValue(records[0].data.beschreibung); - } + } } - if ( current[1] !== '01') { + if ( current[1] !== '01') { if ((current[2] !== '00') && (desk.layer === 1 )) { mediatext.setValue(records[0].data.beschreibung); } else if ((current[1] !== '00') && (desk.layer === 0 )) { mediatext.setValue(records[0].data.beschreibung); - } + } } } },