Mercurial > lada > lada-client
diff app/controller/form/Probe.js @ 829:ebc275959f81
Fixed descriptor selection.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 15 Jun 2015 15:02:33 +0200 |
parents | e25fcc9269df |
children | cf35c6305370 |
line wrap: on
line diff
--- a/app/controller/form/Probe.js Fri May 29 15:35:56 2015 +0200 +++ b/app/controller/form/Probe.js Mon Jun 15 15:02:33 2015 +0200 @@ -211,7 +211,7 @@ var desk = field.up('deskriptor'); var media = field.up('probeform').down('textfield[name="mediaDesk"]'); var current = media.getValue().split(' '); - this.clearChildDesk(field.up('deskriptor'), current); + if (current.length < 13) { for (var i = 0; i <= 12; i++) { if (i === 0) {