ONOS-2850 : Continuing Topology Programmable Dialog box --- WIP.
Change-Id: Id82c74c2acec633b38595975ed605adb81d9ec90
Showing
3 changed files
with
11 additions
and
4 deletions
... | @@ -171,7 +171,10 @@ | ... | @@ -171,7 +171,10 @@ |
171 | } | 171 | } |
172 | 172 | ||
173 | angular.module('onosLayer') | 173 | angular.module('onosLayer') |
174 | - .factory('PanelService', ['$log', 'FnService', function (_$log_, _fs_) { | 174 | + .factory('PanelService', |
175 | + ['$log', '$window', 'FnService', | ||
176 | + | ||
177 | + function (_$log_, _$window_, _fs_) { | ||
175 | $log = _$log_; | 178 | $log = _$log_; |
176 | fs = _fs_; | 179 | fs = _fs_; |
177 | 180 | ||
... | @@ -210,5 +213,4 @@ | ... | @@ -210,5 +213,4 @@ |
210 | destroyPanel: destroyPanel | 213 | destroyPanel: destroyPanel |
211 | }; | 214 | }; |
212 | }]); | 215 | }]); |
213 | - | ||
214 | }()); | 216 | }()); | ... | ... |
... | @@ -26,10 +26,11 @@ | ... | @@ -26,10 +26,11 @@ |
26 | var $log, $window, $rootScope, fs, ps, bns; | 26 | var $log, $window, $rootScope, fs, ps, bns; |
27 | 27 | ||
28 | // constants | 28 | // constants |
29 | - var pCls = 'topo-p', | 29 | + var pCls = 'topo-p dialog', |
30 | idDialog = 'topo-p-dialog', | 30 | idDialog = 'topo-p-dialog', |
31 | panelOpts = { | 31 | panelOpts = { |
32 | - width: 300 | 32 | + width: 300, |
33 | + edge: 'left' | ||
33 | }; | 34 | }; |
34 | 35 | ||
35 | // internal state | 36 | // internal state | ... | ... |
-
Please register or login to post a comment