Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions js/mywallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -1314,6 +1314,9 @@ walletApp.controller('walletCtrl', ['$scope', '$http', '$uibModal', '$localStora

$scope.isFederation = function (address) {
// checking for email type address (e.g.xyz@domain.com)
if (typeof address === 'undefined') {
return true;
}
return address.search(/@([\w-]+\.)+[\w-]{2,}$/) > 0;
}

Expand Down
2 changes: 1 addition & 1 deletion templetes/modal-set-signer-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h3 class="modal-title">Set/Change SignerList</h3>
<span style="color:red" ng-show="setSignerListForm.signerAddress{{$index}}.$error.rippleValidAddress">Invalid Address!</span>
</td>
<td style="text-align: center">
<input type="text" min=1 ng-model="options.signers[$index].weight" size="5" name="signerWeight{{$index}}" uint32 required>
<input type="number" min=1 ng-model="options.signers[$index].weight" size="5" name="signerWeight{{$index}}" uint32 required>
<span style="color:red" ng-show="setSignerListForm.signerWeight{{$index}}.$dirty && setSignerListForm.signerWeight{{$index}}.$invalid">Invalid Value!</span>
</td>
<td><button class="btn btn-link" ng-click="options.signers.splice($index,1)"><span class="glyphicon glyphicon-trash"></span></button></td>
Expand Down