This commit is contained in:
Luke Vella 2015-02-02 18:53:58 +01:00
parent 49f0c92015
commit 62c1e6fea5
2 changed files with 4 additions and 10 deletions

View file

@ -11,7 +11,7 @@ angular.module('rallly')
'newevent.invite'
];
$scope.page = 2;
$scope.page = 1;
var goTo = function(page){
$scope.page = page;
@ -44,12 +44,6 @@ angular.module('rallly')
} else if ($scope.form.$valid) {
$scope.form.$setPristine();
$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'
});
}
}