Mercurial > lada > lada-client
changeset 829:ebc275959f81
Fixed descriptor selection.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 15 Jun 2015 15:02:33 +0200 |
parents | 0d821965812b |
children | 60b15e3983a6 |
files | app/controller/form/Probe.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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) {