Mercurial > lada > lada-client
changeset 1088:60af12dd4a13
Decreased descriptor string parts in Messprogramm.
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Fri, 29 Apr 2016 11:08:10 +0200 |
parents | b0873dfcef1d |
children | fc17ae7e560c |
files | app/controller/form/Messprogramm.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);