uiref -- added custom glyph (smiley UI) and used it in nav-items, topo overlay, and custom view.
Change-Id: I98a1b4349472e7789fa71fb25b9dcc0b87c38f2b
diff --git a/uiref/src/main/resources/app/view/uiRefTable/uiRefTable.js b/uiref/src/main/resources/app/view/uiRefTable/uiRefTable.js
index 70a082e..03da382 100644
--- a/uiref/src/main/resources/app/view/uiRefTable/uiRefTable.js
+++ b/uiref/src/main/resources/app/view/uiRefTable/uiRefTable.js
@@ -45,6 +45,12 @@
}
angular.module('ovUiRefTable', [])
+ .run(['IconService', function (is) {
+ // we want to be able to re-use our custom glyph (defined in
+ // uiRefTopovOverlay.js) as our nav icon. So create an
+ // icon-to-glyph binding here:
+ is.registerIconMapping('nav_uiref', 'ui-ref-overlay-smiley');
+ }])
.controller('OvUiRefTableCtrl',
['$log', '$scope', 'TableBuilderService',
'FnService', 'WebSocketService',