Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r ec7845dc4830 static/js/noc/core/ModelApplication.js
- --- a/static/js/noc/core/ModelApplication.js Mon Aug 11 12:28:21 2014 +0400
- +++ b/static/js/noc/core/ModelApplication.js Tue Aug 12 17:51:38 2014 +0700
- @@ -1174,7 +1174,7 @@
- check = function(seq) {
- for(var i = 0; i < seq.length; i++) {
- var v = seq[i];
- - if(v.groupEdit === true) {
- + if(v && v.groupEdit === true) {
- return true;
- }
- if(v.items && v.items.length && check(v.items)) {
- @@ -1211,7 +1211,7 @@
- break;
- case "checkbox":
- case "checkboxfield":
- - if(v.groupEdit === true) {
- + if(v && v.groupEdit === true) {
- x = {
- xtype: "combobox",
- fieldLabel: v.boxLabel,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement