join view and controller refactor
This commit is contained in:
parent
399edf0291
commit
b148332d9d
6 changed files with 35 additions and 46 deletions
|
|
@ -126,11 +126,7 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
updateSeedSourceSelect(tc);
|
||||
};
|
||||
|
||||
$scope.create = function(form) {
|
||||
if (form && form.$invalid) {
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Please enter the required fields'));
|
||||
return;
|
||||
}
|
||||
$scope.create = function() {
|
||||
|
||||
var opts = {
|
||||
name: $scope.formData.walletName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue