{"action":"created","issue":{"url":"https://api.github.com/repos/isteven/angular-multi-select/issues/251","labels_url":"https://api.github.com/repos/isteven/angular-multi-select/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/isteven/angular-multi-select/issues/251/comments","events_url":"https://api.github.com/repos/isteven/angular-multi-select/issues/251/events","html_url":"https://github.com/isteven/angular-multi-select/issues/251","id":64667643,"number":251,"title":"Getting DOM Errors","user":{"login":"gizmoboy","id":2773508,"avatar_url":"https://avatars.githubusercontent.com/u/2773508?v=3","gravatar_id":"","url":"https://api.github.com/users/gizmoboy","html_url":"https://github.com/gizmoboy","followers_url":"https://api.github.com/users/gizmoboy/followers","following_url":"https://api.github.com/users/gizmoboy/following{/other_user}","gists_url":"https://api.github.com/users/gizmoboy/gists{/gist_id}","starred_url":"https://api.github.com/users/gizmoboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gizmoboy/subscriptions","organizations_url":"https://api.github.com/users/gizmoboy/orgs","repos_url":"https://api.github.com/users/gizmoboy/repos","events_url":"https://api.github.com/users/gizmoboy/events{/privacy}","received_events_url":"https://api.github.com/users/gizmoboy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-27T01:03:54Z","updated_at":"2015-04-21T10:44:23Z","closed_at":"2015-04-18T11:31:40Z","body":"Hi, we're trying to get the directive working in a sample site, and we've gotten it installed and rendering properly, however, something is not wired up.\r\n\r\nWhen the user clicks to open the dropdown, we get a pair of errors:\r\n\r\n TypeError: Cannot read property 'getElementsByTagName' of undefined\r\n    at k.link.$scope.getFormElements (isteven-multi-select.js:311)\r\n    at k.link.$scope.toggleCheckboxes (isteven-multi-select.js:717)\r\n    at fb.functionCall (angular.js:10847)\r\n    at fb.statements (angular.js:10622)\r\n    at hint.js:798\r\n    at k.$get.k.$eval (angular.js:12702)\r\n    at k.$get.k.$apply (angular.js:12800)\r\n    at k.scopePrototype.$apply (hint.js:1478)\r\n    at HTMLButtonElement.<anonymous> (hint.js:797)\r\n    at HTMLButtonElement.n.event.dispatch (jquery.js:4409)\r\nangular.js:10072 TypeError: Cannot read property 'getElementsByTagName' of undefined\r\n    at k.link.$scope.getFormElements (isteven-multi-select.js:311)\r\n    at isteven-multi-select.js:271\r\n    at angular.js:14305\r\n    at e (angular.js:4397)\r\n    at angular.js:4705\r\n\r\nWhen you close it, you get another one of the second error above.\r\n\r\nIf you click an item, you get teh pair of errors again.\r\n\r\nI'm hoping this is a common issue that is just us loading something improperly."},"comment":{"url":"https://api.github.com/repos/isteven/angular-multi-select/issues/comments/94741938","html_url":"https://github.com/isteven/angular-multi-select/issues/251#issuecomment-94741938","issue_url":"https://api.github.com/repos/isteven/angular-multi-select/issues/251","id":94741938,"user":{"login":"isteven","id":5432100,"avatar_url":"https://avatars.githubusercontent.com/u/5432100?v=3","gravatar_id":"","url":"https://api.github.com/users/isteven","html_url":"https://github.com/isteven","followers_url":"https://api.github.com/users/isteven/followers","following_url":"https://api.github.com/users/isteven/following{/other_user}","gists_url":"https://api.github.com/users/isteven/gists{/gist_id}","starred_url":"https://api.github.com/users/isteven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isteven/subscriptions","organizations_url":"https://api.github.com/users/isteven/orgs","repos_url":"https://api.github.com/users/isteven/repos","events_url":"https://api.github.com/users/isteven/events{/privacy}","received_events_url":"https://api.github.com/users/isteven/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T10:44:23Z","updated_at":"2015-04-21T10:44:23Z","body":"@praveeny1986 , you're welcome. "}}