Backing out the server-side zooming for now.
Change-Id: Id4b78c2f6579cc39890eacefc98b035d9f541df6
diff --git a/web/gui/src/main/webapp/app/view/topo/topo.js b/web/gui/src/main/webapp/app/view/topo/topo.js
index 2afd519..eac9ecd 100644
--- a/web/gui/src/main/webapp/app/view/topo/topo.js
+++ b/web/gui/src/main/webapp/app/view/topo/topo.js
@@ -528,14 +528,14 @@
}
function applyPreferences(evt) {
- var zoomPrefs = ps.getPrefs('topo_zoom', null);
+// var zoomPrefs = ps.getPrefs('topo_zoom', null);
if (ps.getPrefs('topo_prefs', null)) {
restoreConfigFromPrefs();
}
- if (zoomPrefs) {
- $log.debug('TOPO- Zoom State:', zoomPrefs);
- zoomer.panZoom([zoomPrefs.tx, zoomPrefs.ty], zoomPrefs.sc, 100);
- }
+// if (zoomPrefs) {
+// $log.debug('TOPO- Zoom State:', zoomPrefs);
+// zoomer.panZoom([zoomPrefs.tx, zoomPrefs.ty], zoomPrefs.sc, 100);
+// }
}
function restoreConfigFromPrefs() {