1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

add missing jsdoc

This commit is contained in:
Sylvain 2017-09-25 15:58:45 +02:00
parent f874748f74
commit ce0887e2ec

View File

@ -344,6 +344,10 @@ Application.Controllers.controller "AdminEventsController", ["$scope", "$state",
growl.error _t('price_category_deletion_failed')
##
# Triggered when the admin changes the events filter (all, passed, future).
# We request the first page of corresponding events to the API
##
$scope.changeScope = ->
Event.query {page: 0, scope: $scope.eventsScope.selected}, (data)->
$scope.events = data