From 0fbece034966094adf750f8be7148b503e801709 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 21 May 2012 23:44:11 -0700 Subject: Fixing localization bug with webgl external data --- js/mediators/io-mediator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js index bbb78a8b..e04670fd 100644 --- a/js/mediators/io-mediator.js +++ b/js/mediators/io-mediator.js @@ -583,7 +583,7 @@ exports.IoMediator = Montage.create(Component, { cvsDataFileUrl = this.getNinjaPropUrlRedirect(cvsDataFilePath.split(this.application.ninja.coreIoApi.cloudData.root+'/')[1]), cvsDataFileCheck = this.application.ninja.coreIoApi.fileExists({uri: cvsDataFilePath}), //Setting the local path to the JSON file - webgllibtag.setAttribute('data-ninja-canvas-json', cvsDataFileUrl); + webgllibtag.setAttribute('data-ninja-canvas-json', this.application.ninja.coreIoApi.rootUrl+'/'+cvsDataFileUrl); webgllibtag.setAttribute('data-ninja-canvas-libpath', rdgeDirName); // if (cvsDataFileCheck.status === 404 || cvsDataFileCheck.status === 204) { -- cgit v1.2.3