Commit d9c16882 authored by Sebastien Robin's avatar Sebastien Robin

use relative urls

parent cdbeadab
...@@ -1466,7 +1466,7 @@ ProxyWidget.prototype._connectToHub = function() ...@@ -1466,7 +1466,7 @@ ProxyWidget.prototype._connectToHub = function()
{ {
var widgetBaseURI = encodeURIComponent( this._spec._src_.slice( 0, this._spec._src_.lastIndexOf("/") + 1 )); var widgetBaseURI = encodeURIComponent( this._spec._src_.slice( 0, this._spec._src_.lastIndexOf("/") + 1 ));
//AP var stubURI = _loaderRoot + "widget.html?oawb=" + widgetBaseURI + "&oawh=" + encodeURIComponent( _hubBaseJS ); //AP var stubURI = _loaderRoot + "widget.html?oawb=" + widgetBaseURI + "&oawh=" + encodeURIComponent( _hubBaseJS );
var stubURI = "http://localhost/js/widget.html?oawb=" + widgetBaseURI + "&oawh=" + encodeURIComponent( _hubBaseJS ); var stubURI = "js/widget.html?oawb=" + widgetBaseURI + "&oawh=" + encodeURIComponent( _hubBaseJS );
this._container = new OpenAjax.hub.IframeContainer( _hub, this._id, this._container = new OpenAjax.hub.IframeContainer( _hub, this._id,
{ Container: { { Container: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment