mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-10 06:31:49 +02:00
Update
This commit is contained in:
parent
49f0c92015
commit
62c1e6fea5
2 changed files with 4 additions and 10 deletions
File diff suppressed because one or more lines are too long
|
@ -11,7 +11,7 @@ angular.module('rallly')
|
||||||
'newevent.invite'
|
'newevent.invite'
|
||||||
];
|
];
|
||||||
|
|
||||||
$scope.page = 2;
|
$scope.page = 1;
|
||||||
|
|
||||||
var goTo = function(page){
|
var goTo = function(page){
|
||||||
$scope.page = page;
|
$scope.page = page;
|
||||||
|
@ -44,12 +44,6 @@ angular.module('rallly')
|
||||||
} else if ($scope.form.$valid) {
|
} else if ($scope.form.$valid) {
|
||||||
$scope.form.$setPristine();
|
$scope.form.$setPristine();
|
||||||
$scope.nextPage();
|
$scope.nextPage();
|
||||||
} else {
|
|
||||||
var notification = new Notification({
|
|
||||||
title : 'Not so fast',
|
|
||||||
message : 'Make sure you fill in all the required fields and try again.',
|
|
||||||
type : 'error'
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue