{"action":"created","issue":{"url":"https://api.github.com/repos/IIIF/mirador/issues/573","labels_url":"https://api.github.com/repos/IIIF/mirador/issues/573/labels{/name}","comments_url":"https://api.github.com/repos/IIIF/mirador/issues/573/comments","events_url":"https://api.github.com/repos/IIIF/mirador/issues/573/events","html_url":"https://github.com/IIIF/mirador/issues/573","id":92162495,"number":573,"title":"When using \"Add via URI\" feature, slot[n].window is null","user":{"login":"pobocks","id":33776,"avatar_url":"https://avatars.githubusercontent.com/u/33776?v=3","gravatar_id":"","url":"https://api.github.com/users/pobocks","html_url":"https://github.com/pobocks","followers_url":"https://api.github.com/users/pobocks/followers","following_url":"https://api.github.com/users/pobocks/following{/other_user}","gists_url":"https://api.github.com/users/pobocks/gists{/gist_id}","starred_url":"https://api.github.com/users/pobocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pobocks/subscriptions","organizations_url":"https://api.github.com/users/pobocks/orgs","repos_url":"https://api.github.com/users/pobocks/repos","events_url":"https://api.github.com/users/pobocks/events{/privacy}","received_events_url":"https://api.github.com/users/pobocks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IIIF/mirador/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-30T18:14:08Z","updated_at":"2015-08-11T17:15:01Z","closed_at":null,"body":"As of most recent master (6aaaf41045d7d3624a9266d18825aa734f550a21), any manifest added via URL insertion is successfully added, but the slot that its window is in doesn't has a window property.\r\n\r\nThis is important to us because, in the absence of an explicit API to query Mirador state, we're essentially having to do \r\n\r\n```javascript\r\nvar slots = Mirador.viewer.workspace.slots;\r\nfor (var i = 0; i < slots.length; i++) {\r\n  slot[i].window //We do stuff with this\r\n}\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/IIIF/mirador/issues/comments/129975840","html_url":"https://github.com/IIIF/mirador/issues/573#issuecomment-129975840","issue_url":"https://api.github.com/repos/IIIF/mirador/issues/573","id":129975840,"user":{"login":"rsinghal","id":2371632,"avatar_url":"https://avatars.githubusercontent.com/u/2371632?v=3","gravatar_id":"","url":"https://api.github.com/users/rsinghal","html_url":"https://github.com/rsinghal","followers_url":"https://api.github.com/users/rsinghal/followers","following_url":"https://api.github.com/users/rsinghal/following{/other_user}","gists_url":"https://api.github.com/users/rsinghal/gists{/gist_id}","starred_url":"https://api.github.com/users/rsinghal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsinghal/subscriptions","organizations_url":"https://api.github.com/users/rsinghal/orgs","repos_url":"https://api.github.com/users/rsinghal/repos","events_url":"https://api.github.com/users/rsinghal/events{/privacy}","received_events_url":"https://api.github.com/users/rsinghal/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T17:15:01Z","updated_at":"2015-08-11T17:15:01Z","body":"Actually, please test with, 292216cf2bcb025f991399d41f39fdd6bcff2bbe.  Old windows were not being removed when their slot was removed, creating orphan windows."}}