Merge branch 'master' of git://github.com/whitef0x0/tellform

This commit is contained in:
Sam 2016-06-02 09:28:32 +02:00
commit 51ae7bf2e9
2 changed files with 4 additions and 2 deletions

View file

@ -51,7 +51,9 @@ var config_nev = function () {
}, function(err, options){
if(err) throw err;
nev.generateTempUserModel(User);
nev.generateTempUserModel(User, function(){
return;
});
});
};

View file

@ -88,7 +88,7 @@ angular.module('forms').directive('fieldDirective', ['$http', '$compile', '$root
break;
case 'number':
scope.field.input_type = 'text';
scope.field.validateRegex = /^\d+$/;
scope.field.validateRegex = /^-?\d+$/;
break;
default:
scope.field.input_type = 'url';