Remove unused function parameters.
This commit is contained in:
parent
921713de90
commit
fad4b6403c
@ -106,7 +106,7 @@ var accountantApp = angular.module("accountantApp", [
|
||||
function($scope, $rootScope, $http, authService, $storage) {
|
||||
$scope.dialogShown = false;
|
||||
|
||||
$scope.showLoginForm = function(e) {
|
||||
$scope.showLoginForm = function() {
|
||||
// First, if there are registered credentials, use them
|
||||
if($scope.dialogShown) {
|
||||
return;
|
||||
@ -137,7 +137,7 @@ var accountantApp = angular.module("accountantApp", [
|
||||
login: {
|
||||
label: 'Login',
|
||||
className: 'btn-primary',
|
||||
callback: function(result) {
|
||||
callback: function() {
|
||||
$scope.dialogShown = false;
|
||||
|
||||
var email = $('#email').val();
|
||||
@ -162,7 +162,7 @@ var accountantApp = angular.module("accountantApp", [
|
||||
cancel: {
|
||||
label: 'Annuler',
|
||||
className: 'btn-default',
|
||||
callback: function(result) {
|
||||
callback: function() {
|
||||
authService.loginCancelled(null, 'Login cancelled by user action.');
|
||||
$scope.dialogShown = false;
|
||||
}
|
||||
|
@ -312,12 +312,12 @@ accountantApp
|
||||
};
|
||||
|
||||
// Reload solds when an operation is saved.
|
||||
$rootScope.$on('operationSavedEvent', function(e, operation) {
|
||||
$rootScope.$on('operationSavedEvent', function() {
|
||||
$scope.loadSolds();
|
||||
});
|
||||
|
||||
// Reload solds when an operation is deleted.
|
||||
$rootScope.$on('operationDeletedEvent', function(e, operation) {
|
||||
$rootScope.$on('operationDeletedEvent', function() {
|
||||
$scope.loadSolds();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user