adding reset to default url button
This commit is contained in:
parent
e715f2ecd3
commit
86fce3af42
2 changed files with 6 additions and 1 deletions
|
|
@ -12,6 +12,10 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
|||
|
||||
this.bwsurl = (config.bwsFor && config.bwsFor[walletId]) || defaults.bws.url;
|
||||
|
||||
this.resetDefaultUrl = function() {
|
||||
this.bwsurl = 'https://bws.bitpay.com/bws/api';
|
||||
};
|
||||
|
||||
this.save = function() {
|
||||
|
||||
var bws;
|
||||
|
|
@ -46,4 +50,4 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
|||
});
|
||||
});
|
||||
};
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue