remove dead code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user