xcmailr-webapp/src/main/java/assets/js/controllers.js
/*
 * Controller to handle small Dialogs e.g. "are you sure that you want to delete
 * this address?"
 */
Controller to handle small Dialogs e.g. "are you sure that you want to delete
this address?"
Controller to handle small Dialogs e . g . " are you sure that you want to delete this address? "
function DeleteDialogsController($scope, $modalInstance, currentBox,
		contextPath, isBulkAction) {
	$scope.contextPath = contextPath;
	$scope.currentBox = currentBox;
	$scope.isBulkAction = isBulkAction;
	$scope.close = function(result) {
		$modalInstance.close(result);
	};
	$scope.dismiss = function() { 
		$modalInstance.close();
	};
}
function DeleteDialogsController ( $scope , $modalInstance , currentBox , contextPath , isBulkAction ) { $scope . contextPath = contextPath ; $scope . currentBox = currentBox ; $scope . isBulkAction = isBulkAction ; $scope . close = function ( result ) { $modalInstance . close ( result ) ; } ; $scope . dismiss = function ( ) { $modalInstance . close ( ) ; } ; }
Controller to handle small Dialogs e.g.
Controller to handle small Dialogs e . g .
// ignore changes, just close the dialog