This commit is contained in:
ziirish 2015-12-01 08:49:20 +01:00
parent 68e522922e
commit a3da06a0a6
2 changed files with 8 additions and 2 deletions

View file

@ -211,8 +211,7 @@ class Live(Resource):
not api.bui.acl.is_client_allowed(
current_user.get_id(),
c,
k)
):
k)):
continue
s = {}
s['client'] = c

View file

@ -100,4 +100,11 @@ var url = '{{ url_for("api.live") }}';
var app = angular.module('MainApp', ['ngSanitize']);
app.controller('LiveCtrl', function($scope, $http, $timeout) {
$scope.load = function() {
$http.get(url)
.success(function(data, status, headers, config) {
})
.error(function(data, status, headers, config) {
});
};
});