Fix bug where monitor source type was not set
This commit is contained in:
parent
2e96b141e5
commit
227f32a6a9
Binary file not shown.
|
@ -48,7 +48,7 @@ ZoneMinder.controller('EventController', function($scope, $location, Event) {
|
|||
|
||||
ZoneMinder.controller('MonitorController', function($scope, $http) {
|
||||
$scope.monitor = {};
|
||||
$scope.monitor.sourceType = 'Remote';
|
||||
$scope.monitor.Type = 'Remote';
|
||||
$scope.monitor.RefBlendPerc = 6;
|
||||
$scope.monitor.AlarmRefBlendPerc = 6;
|
||||
$scope.monitor.Function = 'Monitor';
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<input type="text" id="Name" class="form-control" ng-model="monitor.Name" placeholder="Monitor-Name" required />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="SourceType"><?= $SLANG['SourceType'] ?></label>
|
||||
<select ng-model="monitor.sourceType" id="SourceType" class="form-control" required>
|
||||
<label for="Type"><?= $SLANG['SourceType'] ?></label>
|
||||
<select ng-model="monitor.Type" id="Type" class="form-control" required>
|
||||
<option value="Local">Local</option>
|
||||
<option value="Remote">Remote</option>
|
||||
<option value="File">File</option>
|
||||
|
|
Loading…
Reference in New Issue