changeset 1282:20a2466820ce

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 18 Jan 2017 14:56:16 +0100
parents 8012e5212bd5 (diff) 3b4dcc83a21b (current diff)
children 9d298c82575f
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/controller/form/Probe.js	Wed Jan 18 14:49:05 2017 +0100
+++ b/app/controller/form/Probe.js	Wed Jan 18 14:56:16 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:');
                 }

http://lada.wald.intevation.org