Advertisement
Guest User

TSergey, 2014-08-12, hg diff static

a guest
Aug 12th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. diff -r ec7845dc4830 static/js/noc/core/ModelApplication.js
  2. --- a/static/js/noc/core/ModelApplication.js Mon Aug 11 12:28:21 2014 +0400
  3. +++ b/static/js/noc/core/ModelApplication.js Tue Aug 12 17:51:38 2014 +0700
  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