Commits

Rune Halvorsen committed 48ac65c

Fixed bug where the window id was not sent in the hide-view message

Comments (0)

Files changed (1)

src/ui-scripts/window.js

     {
       ref_obj = ui_windows[win.id];
       ref_obj.container.onclose();
-      messages.post("hide-view", {id: win.getAttribute('ref_id')});
+      messages.post("hide-view", {id: win.getAttribute('ref-id') || win.getAttribute('view_id')});
       win.parentElement.removeChild(win);
     }
   }