overleaf/services/web/public/coffee/ide/review-panel/controllers/BulkActionsModalController.coffee

10 lines
291 B
CoffeeScript
Raw Normal View History

2017-05-09 11:06:19 -04:00
define [
"base"
], (App) ->
App.controller "BulkActionsModalController", ($scope, $modalInstance, isAccept, nChanges) ->
$scope.isAccept = isAccept
$scope.nChanges = nChanges
$scope.cancel = () ->
$modalInstance.dismiss()
$scope.confirm = () ->
$modalInstance.close(isAccept)