1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-10-04 09:23:21 +08:00

Add session close button

This commit is contained in:
Jonathan Leibiusky (@xetorthio)
2016-11-12 18:58:30 -03:00
parent 81f02e4a3a
commit e8b38fe717
5 changed files with 31 additions and 18 deletions

View File

@@ -32,6 +32,10 @@
$scope.socket.emit('viewport resize', geometry.cols, geometry.rows);
}
$scope.closeSession = function() {
$scope.socket.emit('session close');
}
$scope.upsertInstance = function(info) {
var i = info;
if (!$scope.idx[i.name]) {