repo: janusweb
action: commit
revision: 
path_from: 
revision_from: a2c6ee3442643fc356774222523494e89f9d2ca5:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit a2c6ee3442643fc356774222523494e89f9d2ca5
Author: James Baicoianu 
Date:   Wed Jan 18 23:46:38 2017 -0800

    Fix for URL hash not being updated

diff --git a/scripts/janusweb.js b/scripts/janusweb.js
index e3ed95fba3b22ab8a3e7242156d9796497f67f80..
index ..0411ef2286fe7baa99f94723661892d64f6f9ef3 100644
--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -346,7 +346,7 @@ elation.require(['janusweb.config', 'engine.things.generic','janusweb.remoteplay
           this.engine.client.player.properties.orientation.copy(this.currentroom.playerstartorientation);
         }
         if (changed && !skipURLUpdate) {
-          this.updateClientURL();
+          this.updateClientURL(url);
         }

         if (!this.currentroom.loaded) {
@@ -361,7 +361,7 @@ elation.require(['janusweb.config', 'engine.things.generic','janusweb.remoteplay
         this.load(url, true);
       }
     }
-    this.updateClientURL = function() {
+    this.updateClientURL = function(url) {
       if (this.urltemplate) {
         var re = new RegExp(elation.template.get('janusweb.url', {url: '(.*)'}).replace('/', '\\/'));
         var m = document.location.pathname.match(re);

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