Merge branch 'master' of github.com:bitpay/copay into feature/copay-shell
This commit is contained in:
commit
4dbad23eac
16 changed files with 283 additions and 162 deletions
|
|
@ -20,8 +20,6 @@ angular.module('copay.header').controller('HeaderController',
|
|||
'icon': 'fi-archive',
|
||||
'link': '#/backup'
|
||||
}];
|
||||
|
||||
var beep = new Audio('sound/transaction.mp3');
|
||||
|
||||
$http.get('https://api.github.com/repos/bitpay/copay/tags').success(function(data){
|
||||
var toInt = function (s) { return parseInt(s); };
|
||||
|
|
@ -54,6 +52,7 @@ angular.module('copay.header').controller('HeaderController',
|
|||
}
|
||||
}
|
||||
if (currentAddr) {
|
||||
var beep = new Audio('sound/transaction.mp3');
|
||||
$notification.funds('Received fund', currentAddr, receivedFund);
|
||||
beep.play();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ angular.module('copay.import').controller('ImportController',
|
|||
if (!backupFile && !backupText) {
|
||||
$scope.loading = false;
|
||||
$rootScope.$flashMessage = { message: 'Please, select your backup file or paste the text', type: 'error'};
|
||||
$scope.loading = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@ angular.module('copay.signin').controller('SigninController',
|
|||
$scope.selectedWalletId = $scope.wallets.length ? $scope.wallets[0].id : null;
|
||||
$scope.openPassword = '';
|
||||
|
||||
$scope.create = function(form) {
|
||||
$location.path('setup');
|
||||
};
|
||||
|
||||
$scope.open = function(form) {
|
||||
if (form && form.$invalid) {
|
||||
$rootScope.$flashMessage = { message: 'Please, enter required fields', type: 'error'};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue