replace self -> this
This commit is contained in:
parent
bcbb0e68d1
commit
af28406446
1 changed files with 4 additions and 4 deletions
|
|
@ -27,8 +27,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
this.showScanner = false;
|
this.showScanner = false;
|
||||||
this.addr = {};
|
this.addr = {};
|
||||||
this.lockedCurrentFeePerKb = null;
|
this.lockedCurrentFeePerKb = null;
|
||||||
self.paymentExpired = true;
|
this.paymentExpired = true;
|
||||||
self.usePaypro = false;
|
this.usePaypro = false;
|
||||||
|
|
||||||
var disableScannerListener = $rootScope.$on('dataScanned', function(event, data) {
|
var disableScannerListener = $rootScope.$on('dataScanned', function(event, data) {
|
||||||
self.setForm(data);
|
self.setForm(data);
|
||||||
|
|
@ -970,8 +970,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
|
|
||||||
this.resetForm = function() {
|
this.resetForm = function() {
|
||||||
this.resetError();
|
this.resetError();
|
||||||
self.paymentExpired = true;
|
this.paymentExpired = true;
|
||||||
self.usePaypro = false;
|
this.usePaypro = false;
|
||||||
this._paypro = null;
|
this._paypro = null;
|
||||||
this.lockedCurrentFeePerKb = null;
|
this.lockedCurrentFeePerKb = null;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue