Mercurial > lada > lada-client
comparison app/view/form/Probe.js @ 1384:59c1f162fe8f
fix mediabeschreibung in /view/form/Probe.js
author | Evi Huber <ehuber@bfs.de> |
---|---|
date | Thu, 23 Feb 2017 12:28:51 +0100 |
parents | 197ba385bc31 |
children | 7e9a6f0e55b3 418b9afee700 |
comparison
equal
deleted
inserted
replaced
1383:197ba385bc31 | 1384:59c1f162fe8f |
---|---|
415 this.setMediaSN(0, mediaParts); | 415 this.setMediaSN(0, mediaParts); |
416 } | 416 } |
417 }, | 417 }, |
418 | 418 |
419 setMediaSN: function(ndx, media, beschreibung) { | 419 setMediaSN: function(ndx, media, beschreibung) { |
420 var mediabeschreibung = this.getForm().findField('media'); | |
420 if (ndx >= 12) { | 421 if (ndx >= 12) { |
421 mediabeschreibung.setValue(beschreibung); | 422 mediabeschreibung.setValue(beschreibung); |
422 return; | 423 return; |
423 } | 424 } |
424 var me = this; | 425 var me = this; |