mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 07:38:15 +00:00
#287 - modified to use s-status-editing, but CSS needed
This commit is contained in:
@ -144,15 +144,6 @@ define(
|
||||
this.$timeout = $timeout;
|
||||
this.$scope = $scope;
|
||||
|
||||
//$scope.editing =
|
||||
// $scope.domainObject.getCapability('status').get().indexOf('editing') >=0;
|
||||
|
||||
//TODO: Temporary hack until css classes are defined for status
|
||||
// change
|
||||
$scope.domainObject.getCapability('status').listen(function(status){
|
||||
$scope.editing = status.indexOf('editing') >=0;
|
||||
});
|
||||
|
||||
// Listen for changes which will effect display parameters
|
||||
$scope.$watch("ngModel.selectedObject", setSelection);
|
||||
$scope.$watch("domainObject", checkSelection);
|
||||
|
Reference in New Issue
Block a user