repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 327b82f7fb26b8583e025a6ef4c428a7f14995e1:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 327b82f7fb26b8583e025a6ef4c428a7f14995e1
Author: James Baicoianu 
Date:   Sun Oct 16 19:33:16 2016 -0700

    Load assets and save source when we get a response from a translator

diff --git a/scripts/room.js b/scripts/room.js
index a9c498fb2fa7091416b4a6d1040a38732b544703..
index ..5a2f19800f45ffe524e9d105e81e4a117838ba08 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -254,6 +254,8 @@ elation.require([
           // TODO - use the new official translators here!
           translator.exec({url: url, janus: this.properties.janus, room: this})
                     .then(elation.bind(this, function(objs) {
+                      this.roomsrc = objs.source;
+                      this.loadRoomAssets(objs);
                       this.createRoomObjects(objs);
                       this.setActive();
                       elation.events.fire({type: 'janus_room_load', element: this});

-----END OF PAGE-----