Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
1358:2e462c5334f1 | 1359:49efc1cc0eac |
---|---|
314 var mediatext = field.up('messprogrammform').down('textfield[name="media"]'); | 314 var mediatext = field.up('messprogrammform').down('textfield[name="media"]'); |
315 | 315 |
316 if ( (desk.layer === 0 ) && (records[0].get('sn') === 0) ){ | 316 if ( (desk.layer === 0 ) && (records[0].get('sn') === 0) ){ |
317 mediatext.setValue(''); | 317 mediatext.setValue(''); |
318 } else { | 318 } else { |
319 if ( current[1] === '01') { | 319 if ( current[1] === '01') { |
320 if ( (current[4] !== '00') && (desk.layer === 3) ) { | 320 if ( (current[4] !== '00') && (desk.layer === 3) ) { |
321 mediatext.setValue(records[0].data.beschreibung); | 321 mediatext.setValue(records[0].data.beschreibung); |
322 } else if ( (current[3] !== '00') && (desk.layer === 2) ) { | 322 } else if ( (current[3] !== '00') && (desk.layer === 2) ) { |
323 mediatext.setValue(records[0].data.beschreibung); | 323 mediatext.setValue(records[0].data.beschreibung); |
324 } else if ( (current[2] !== '00') && (desk.layer === 1) ) { | 324 } else if ( (current[2] !== '00') && (desk.layer === 1) ) { |
325 mediatext.setValue(records[0].data.beschreibung); | 325 mediatext.setValue(records[0].data.beschreibung); |
326 } else if ( (current[1] !== '00') && (desk.layer === 0 )) { | 326 } else if ( (current[1] !== '00') && (desk.layer === 0 )) { |
327 mediatext.setValue(records[0].data.beschreibung); | 327 mediatext.setValue(records[0].data.beschreibung); |
328 } | 328 } |
329 } | 329 } |
330 | 330 |
331 if ( current[1] !== '01') { | 331 if ( current[1] !== '01') { |
332 if ((current[2] !== '00') && (desk.layer === 1 )) { | 332 if ((current[2] !== '00') && (desk.layer === 1 )) { |
333 mediatext.setValue(records[0].data.beschreibung); | 333 mediatext.setValue(records[0].data.beschreibung); |
334 } else if ((current[1] !== '00') && (desk.layer === 0 )) { | 334 } else if ((current[1] !== '00') && (desk.layer === 0 )) { |
335 mediatext.setValue(records[0].data.beschreibung); | 335 mediatext.setValue(records[0].data.beschreibung); |
336 } | 336 } |
337 } | 337 } |
338 } | 338 } |
339 }, | 339 }, |
340 | 340 |
341 clearChildDesk: function(field) { | 341 clearChildDesk: function(field) { |