# HG changeset patch # User Michael Stanko # Date 1461920890 -7200 # Node ID 60af12dd4a13ec4a250f036f017deb4c2ddb5a0c # Parent b0873dfcef1d4d31257283005e16d132619bcfef Decreased descriptor string parts in Messprogramm. diff -r b0873dfcef1d -r 60af12dd4a13 app/controller/form/Messprogramm.js --- a/app/controller/form/Messprogramm.js Fri Apr 29 11:01:19 2016 +0200 +++ b/app/controller/form/Messprogramm.js Fri Apr 29 11:08:10 2016 +0200 @@ -324,7 +324,7 @@ var media = field.up('messprogrammform').down('textfield[name="mediaDesk"]'); var current = media.getValue().split(' '); - if (current.length < 13) { + if (current.length < 12) { for (var i = 0; i <= 12; i++) { if (i === 0) { current.push('D:'); @@ -354,7 +354,7 @@ } current[desk.layer + 1] = value; if (desk.layer < 2) { - for (var i = desk.layer + 2; i < 13; i++) { + for (var i = desk.layer + 2; i < 12; i++) { current[i] = '00'; } this.clearChildDesk(desk);