Advertisement
Guest User

TSergey, 2014-8-12, patch error

a guest
Aug 12th, 2014
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. root@noc:/opt/noc/static/js/noc/core# cat ModelApplication.js.rej
  2. --- ModelApplication.js
  3. +++ ModelApplication.js
  4. @@ -1174,7 +1174,7 @@
  5. check = function(seq) {
  6. for(var i = 0; i < seq.length; i++) {
  7. var v = seq[i];
  8. - if(v.groupEdit === true) {
  9. + if(v && v.groupEdit === true) {
  10. return true;
  11. }
  12. if(v.items && v.items.length && check(v.items)) {
  13. @@ -1211,7 +1211,7 @@
  14. break;
  15. case "checkbox":
  16. case "checkboxfield":
  17. - if(v.groupEdit === true) {
  18. + if(v && v.groupEdit === true) {
  19. x = {
  20. xtype: "combobox",
  21. fieldLabel: v.boxLabel,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement