ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Saving reference code
Change-Id: I26fba7af0dd2d4e4b42581c7ca1b5e98ce1285aa
diff --git a/web/gui/src/main/webapp/_sdh/overlaywork/topov.js b/web/gui/src/main/webapp/_sdh/overlaywork/topov.js
index 80a3fa9..0b5eac8 100644
--- a/web/gui/src/main/webapp/_sdh/overlaywork/topov.js
+++ b/web/gui/src/main/webapp/_sdh/overlaywork/topov.js
@@ -30,18 +30,10 @@
activate: activateOverlay,
deactivate: deactivateOverlay,
- // button descriptors - these can be added to overview or detail panels
- buttons: {
- foo: {
- gid: 'chain',
- tt: 'a FOO action',
- cb: fooCb
- },
- bar: {
- gid: '*banner',
- tt: 'a BAR action',
- cb: barCb
- }
+ // button callbacks matching button identifiers
+ buttonActions: {
+ foo: fooCb,
+ bar: barCb
}
};