Commit 11b30ebc authored by Sebastian's avatar Sebastian

Update to reflect new directory and config structure

parent ff40f1aa
......@@ -14,6 +14,8 @@
<script data-renderjs-configuration="default_view_reference" type="text/x-renderjs-configuration">notebook_jio_view</script>
<script data-renderjs-configuration="hateoas_url" type="text/x-renderjs-configuration">hateoas/</script>
<script type="text/javascript" src="jiocontents_erp5_config.js"></script>
<div data-gadget-url="gadget_jio.html"
data-gadget-scope="setting_gadget"
data-gadget-sandbox="public"></div>
......
......@@ -70,8 +70,8 @@
// .absoluteTo(location.href)
// .toString();
// TODO HARDCODED - BAD
setting.hateoas_url = "";
// Read erp5 URL
setting.hateoas_url = _erp5_hateoas_url + "web_site_module/renderjs_runner/hateoas/";
if (setting.hasOwnProperty('service_worker_url') &&
(setting.service_worker_url !== '')) {
......
......@@ -12,7 +12,7 @@ define(function(require) {
var utils = require('base/js/utils');
var baseUrl = "/nbextensions/jiocontents";
var baseUrl = "/nbextensions/jiocontents/src";
var gadget_main_div = document.createElement("div");
gadget_main_div.setAttribute("data-gadget-url", baseUrl + "/gadget_jupyter_page.html");
......
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