new key test, upgrades to bwc 2.7.0

This commit is contained in:
Matias Alejo Garcia 2016-06-14 12:28:21 -03:00
commit 52a20334e1
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
4 changed files with 55 additions and 26 deletions

View file

@ -57,6 +57,12 @@ Profile.prototype.isChecked = function(ua, walletId) {
return !!(this.checkedUA == ua && this.checked[walletId]);
};
Profile.prototype.isDeviceChecked = function(ua) {
return this.checkedUA == ua;
};
Profile.prototype.setChecked = function(ua, walletId) {
if (this.checkedUA != ua) {
this.checkedUA = ua;