system: setError is not defined
This commit is contained in:
@@ -11,6 +11,11 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati
|
||||
$scope.services = [];
|
||||
$scope.disks = [];
|
||||
$scope.memory = null;
|
||||
$scope.errorMessage = '';
|
||||
|
||||
$scope.setError = function (context, error) {
|
||||
$scope.errorMessage = 'Error loading ' + context + ' : ' + error.message;
|
||||
};
|
||||
|
||||
// http://stackoverflow.com/questions/1484506/random-color-generator-in-javascript
|
||||
function getRandomColor() {
|
||||
|
||||
Reference in New Issue
Block a user