GUI -- Renamed 'preload' callback function to be 'init'; a better name, I feel.
Change-Id: I96d0892c0d78b1ac50044f57669bd84146808018
diff --git a/web/gui/src/main/webapp/topo.js b/web/gui/src/main/webapp/topo.js
index 704ade1..ce1fceb 100644
--- a/web/gui/src/main/webapp/topo.js
+++ b/web/gui/src/main/webapp/topo.js
@@ -2862,7 +2862,7 @@
// ==============================
// View life-cycle callbacks
- function preload(view, ctx, flags) {
+ function init(view, ctx, flags) {
var w = view.width(),
h = view.height(),
fcfg = config.force;
@@ -3161,7 +3161,7 @@
// View registration
onos.ui.addView('topo', {
- preload: preload,
+ init: init,
load: load,
unload: unload,
resize: resize,