Fix some tabbing in controllers.js
This commit is contained in:
parent
a8b56f37e0
commit
4e0e8664b1
|
@ -145,19 +145,19 @@ ZoneMinder.controller('EventController', function($scope, Event, $modalInstance,
|
||||||
|
|
||||||
Event.get(eventId).then(function(results) {
|
Event.get(eventId).then(function(results) {
|
||||||
$scope.eventId = eventId;
|
$scope.eventId = eventId;
|
||||||
$scope.name = results.data.event.Event.Name;
|
$scope.name = results.data.event.Event.Name;
|
||||||
$scope.cause = results.data.event.Event.Cause;
|
$scope.cause = results.data.event.Event.Cause;
|
||||||
$scope.startTime = results.data.event.Event.StartTime;
|
$scope.startTime = results.data.event.Event.StartTime;
|
||||||
$scope.endTime = results.data.event.Event.EndTime;
|
$scope.endTime = results.data.event.Event.EndTime;
|
||||||
$scope.width = results.data.event.Event.Width;
|
$scope.width = results.data.event.Event.Width;
|
||||||
$scope.length = results.data.event.Event.Length;
|
$scope.length = results.data.event.Event.Length;
|
||||||
$scope.frames = results.data.event.Event.Frames;
|
$scope.frames = results.data.event.Event.Frames;
|
||||||
$scope.alarmFrames = results.data.event.Event.AlarmFrames;
|
$scope.alarmFrames = results.data.event.Event.AlarmFrames;
|
||||||
$scope.totScore = results.data.event.Event.TotScore;
|
$scope.totScore = results.data.event.Event.TotScore;
|
||||||
$scope.avgScore = results.data.event.Event.AvgScore;
|
$scope.avgScore = results.data.event.Event.AvgScore;
|
||||||
$scope.maxScore = results.data.event.Event.MaxScore;
|
$scope.maxScore = results.data.event.Event.MaxScore;
|
||||||
$scope.notes = results.data.event.Event.Notes;
|
$scope.notes = results.data.event.Event.Notes;
|
||||||
$scope.archived = results.data.event.Event.Archived;
|
$scope.archived = results.data.event.Event.Archived;
|
||||||
$scope.archive_text = $scope.archived == 0 ? 'Archive' : 'Unarchive';
|
$scope.archive_text = $scope.archived == 0 ? 'Archive' : 'Unarchive';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue