[Lada-commits] [PATCH] Fixed descriptor selection
Wald Commits
scm-commit at wald.intevation.org
Mon Jun 15 15:02:36 CEST 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1434373353 -7200
# Node ID ebc275959f81068e020560872f75f31459fdec4a
# Parent 0d821965812bd54f15f006d97ec8c5476e3ff61f
Fixed descriptor selection.
diff -r 0d821965812b -r ebc275959f81 app/controller/form/Probe.js
--- 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) {
More information about the Lada-commits
mailing list