Mercurial > lada > lada-client
diff app/controller/form/Messprogramm.js @ 1088:60af12dd4a13
Decreased descriptor string parts in Messprogramm.
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Fri, 29 Apr 2016 11:08:10 +0200 |
parents | 61cc583c3649 |
children | 7baaf2cd3f57 |
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);