Commit bea21803 authored by maxchaza's avatar maxchaza

setlistener to launch MetExploreViz

parent 447566a2
......@@ -7,7 +7,7 @@
/**
* The version of the application.
*/
"version": "3.0.3",
"version": "3.0.4",
/**
* The relative path to the application's markup file (html, jsp, asp, etc.).
......
......@@ -33,19 +33,27 @@
document.getElementById("visualisation").style.width = dimensionIFrameMetExploreViz.width+"px";
document.getElementById("visualisation").style.height = dimensionIFrameMetExploreViz.height+"px";
}
// Launch metExploreViz after microloader loading
Ext.Microloader.onCachedAssetsReady = function(){
window.location.reload();
};
//
// Ext.Microloader.onAllUpdatedAssetsReady = function(){
// Ext.onReady(function() {
// var visu = new metExploreViz('visualisation', parent);
// // Create metExploreViz variable in parent DOM
// parent.metExploreViz = metExploreD3;
// });
// };
Ext.Microloader.onAllUpdatedAssetsReady = function(){
Ext.Microloader.checkAllUpdates = function(){
Ext.onReady(function() {
var visu = new metExploreViz('visualisation', parent);
// Create metExploreViz variable in parent DOM
parent.metExploreViz = metExploreD3;
});
};
};
}
document.addEventListener("DOMContentLoaded", init, false);
......
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