#287 - modified to use s-status-editing, but CSS needed

This commit is contained in:
Henry
2015-11-20 11:23:34 -08:00
parent a864c172d5
commit e6054b8252
2 changed files with 1 additions and 10 deletions

View File

@ -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);