{"action":"opened","issue":{"url":"https://api.github.com/repos/andrei-markeev/cisar/issues/2","labels_url":"https://api.github.com/repos/andrei-markeev/cisar/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/andrei-markeev/cisar/issues/2/comments","events_url":"https://api.github.com/repos/andrei-markeev/cisar/issues/2/events","html_url":"https://github.com/andrei-markeev/cisar/issues/2","id":88476775,"number":2,"title":"Doesn`t work in document library sponline","user":{"login":"wideserg","id":11554516,"avatar_url":"https://avatars.githubusercontent.com/u/11554516?v=3","gravatar_id":"","url":"https://api.github.com/users/wideserg","html_url":"https://github.com/wideserg","followers_url":"https://api.github.com/users/wideserg/followers","following_url":"https://api.github.com/users/wideserg/following{/other_user}","gists_url":"https://api.github.com/users/wideserg/gists{/gist_id}","starred_url":"https://api.github.com/users/wideserg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wideserg/subscriptions","organizations_url":"https://api.github.com/users/wideserg/orgs","repos_url":"https://api.github.com/users/wideserg/repos","events_url":"https://api.github.com/users/wideserg/events{/privacy}","received_events_url":"https://api.github.com/users/wideserg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-15T16:36:06Z","updated_at":"2015-06-15T16:36:06Z","closed_at":null,"body":"This code throws error\r\n\r\nTypeError: Cannot read property 'childNodes' of undefined(…)\r\n\r\nin\r\n\r\nfor (var f in ctx.ListSchema) {\r\n                            if (f == \"Attachments\" || f == \"Created\" || f == \"Modified\" || f == \"Author\" || f == \"Editor\")\r\n                                continue;\r\n                            var nodesToReplace = [];\r\n                            for (var n = 0; n < rows[i].childNodes.length; n++)\r\n\r\nbecause ctx.ListSchema contains all the fields including Modefied and Author which aren`t present in rows collection. So in my case, ListSchema containes 10 items but rows, which are formcontrols, contain just 6 items."}}