added for point.object_type
parent
4777e1f275
commit
19597adc41
|
@ -183,6 +183,10 @@ app.controller('ModalAddPointCtrl', function($scope, $uibModalInstance) {
|
||||||
$scope.cancel = function() {
|
$scope.cancel = function() {
|
||||||
$uibModalInstance.dismiss('cancel');
|
$uibModalInstance.dismiss('cancel');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.$watch("point.object_type",function () {
|
||||||
|
$scope.point.is_virtual = false;
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
app.controller('ModalEditPointCtrl', function($scope, $uibModalInstance, params) {
|
app.controller('ModalEditPointCtrl', function($scope, $uibModalInstance, params) {
|
||||||
|
|
Loading…
Reference in New Issue