Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. diff -r 155f73184d75 static/js/noc/core/ModelApplication.js
  2. --- a/static/js/noc/core/ModelApplication.js Fri Aug 29 15:37:03 2014 +0300
  3. +++ b/static/js/noc/core/ModelApplication.js Tue Sep 02 10:40:33 2014 +0400
  4. @@ -1179,6 +1179,9 @@
  5. check = function(seq) {
  6. for(var i = 0; i < seq.length; i++) {
  7. var v = seq[i];
  8. + if(!v) {
  9. + continue;
  10. + }
  11. if(v.groupEdit === true) {
  12. return true;
  13. }
  14. @@ -1216,7 +1219,7 @@
  15. break;
  16. case "checkbox":
  17. case "checkboxfield":
  18. - if(v.groupEdit === true) {
  19. + if(v && v.groupEdit === true) {
  20. x = {
  21. xtype: "combobox",
  22. fieldLabel: v.boxLabel,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement