remove dead code

This commit is contained in:
Girish Ramakrishnan
2018-06-25 19:10:00 -07:00
parent 37f108d9f7
commit bdf57a5c0a

View File

@@ -310,27 +310,6 @@ app.controller('TerminalController', ['$scope', '$timeout', '$location', 'Client
Client.onReady($scope.populateDropdown);
// Client.onApps(function () {
// console.log('onapps')
// if ($scope.$$destroyed) return;
// if ($scope.selected.type !== 'app') return $scope.appBusy = false;
// var appId = $scope.selected.value;
// Client.getCachedApp(appId, function (error, result) {
// if (error) return console.error(error);
// // we expect this to be called _after_ a reconfigure was issued
// if (result.installationState === 'pending_configure') {
// $scope.appBusy = true;
// } else if (result.installationState === 'installed') {
// $scope.appBusy = false;
// }
// $scope.selectedAppInfo = result;
// });
// });
// terminal right click handling
$scope.terminalClear = function () {
if (!$scope.terminal) return;