Mercurial > lada > lada-client
comparison app/controller/form/Messprogramm.js @ 857:01cddda65fea
Fixed descriptor input.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 10 Jul 2015 18:03:52 +0200 |
parents | af9d506b0700 |
children | 24b5684d74d7 |
comparison
equal
deleted
inserted
replaced
856:e44070aa45d2 | 857:01cddda65fea |
---|---|
320 | 320 |
321 deskriptorSelect: function(field, records) { | 321 deskriptorSelect: function(field, records) { |
322 var desk = field.up('deskriptor'); | 322 var desk = field.up('deskriptor'); |
323 var media = field.up('messprogrammform').down('textfield[name="mediaDesk"]'); | 323 var media = field.up('messprogrammform').down('textfield[name="mediaDesk"]'); |
324 var current = media.getValue().split(' '); | 324 var current = media.getValue().split(' '); |
325 this.clearChildDesk(field.up('deskriptor'), current); | |
326 if (current.length < 13) { | 325 if (current.length < 13) { |
327 for (var i = 0; i <= 12; i++) { | 326 for (var i = 0; i <= 12; i++) { |
328 if (i === 0) { | 327 if (i === 0) { |
329 current.push('D:'); | 328 current.push('D:'); |
330 } | 329 } |