[Lada-commits] [PATCH] Check correct length in deskriptor string
Wald Commits
scm-commit at wald.intevation.org
Wed Jan 18 16:03:43 CET 2017
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1484751820 -3600
# Node ID 9d298c82575fc11e43dba46a90c25920d6b686ce
# Parent 20a2466820ce2ffee007526525b9a3ead0af01ec
Check correct length in deskriptor string.
diff -r 20a2466820ce -r 9d298c82575f app/controller/form/Probe.js
--- a/app/controller/form/Probe.js Wed Jan 18 14:56:16 2017 +0100
+++ b/app/controller/form/Probe.js Wed Jan 18 16:03:40 2017 +0100
@@ -230,7 +230,7 @@
var desk = field.up('deskriptor');
var media = field.up('probeform').down('textfield[name="mediaDesk"]');
var current = media.getValue().split(' ');
- if (current.length < 13) {
+ if (current.length < 12) {
var value;
for (var i = 0; i < 13; i++) {
if (i === 0) {
More information about the Lada-commits
mailing list