replace self -> this

This commit is contained in:
Javier 2016-02-10 12:48:43 -03:00
commit af28406446

View file

@ -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;