Revision 9b059b7e
b/ui/static/snf/js/ui/web/ui_networks_view.js | ||
---|---|---|
230 | 230 |
this.cancel = this.$("button.no"); |
231 | 231 |
this.confirm = this.$("button.yes"); |
232 | 232 |
this.details = this.$(".action-details"); |
233 |
this.vm_connect = this.$(".machine-connect"); |
|
233 | 234 |
|
234 | 235 |
this.init_handlers(); |
236 |
this.connect_overlay = new views.VMConnectView(); |
|
235 | 237 |
|
236 | 238 |
this.firewall_view = undefined; |
237 | 239 |
if (this.firewall_controls) { |
... | ... | |
266 | 268 |
|
267 | 269 |
this.$(".remove-icon").click(_.bind(function(){ |
268 | 270 |
this.confirm_disconnect(); |
269 |
}, this)) |
|
271 |
}, this)); |
|
272 |
|
|
273 |
this.vm_connect.click(_.bind(function() { |
|
274 |
this.connect_overlay.show(this.vm); |
|
275 |
}, this)); |
|
270 | 276 |
} |
271 | 277 |
|
272 | 278 |
var vm = this.vm; |
Also available in: Unified diff