Mercurial > lada > lada-client
changeset 1281:8012e5212bd5
Fixed initial length of deskriptor string.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 18 Jan 2017 14:54:38 +0100 (2017-01-18) |
parents | 8f37f8832c4a |
children | 20a2466820ce |
files | app/controller/form/Probe.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/app/controller/form/Probe.js Wed Jan 11 16:32:51 2017 +0100 +++ b/app/controller/form/Probe.js Wed Jan 18 14:54:38 2017 +0100 @@ -230,9 +230,9 @@ var desk = field.up('deskriptor'); var media = field.up('probeform').down('textfield[name="mediaDesk"]'); var current = media.getValue().split(' '); - if (current.length < 12) { + if (current.length < 13) { var value; - for (var i = 0; i < 12; i++) { + for (var i = 0; i < 13; i++) { if (i === 0) { current.push('D:'); }