mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
tuneing up mdoels and services for site add
This commit is contained in:
@@ -13,7 +13,7 @@ var CipherString = function (encryptedString) {
|
||||
CipherString.prototype.decrypt = function (callback) {
|
||||
if (!_decryptedValue) {
|
||||
var cryptoService = chrome.extension.getBackgroundPage().cryptoService;
|
||||
_decryptedValue = cryptoService.Decrypt(this);
|
||||
_decryptedValue = cryptoService.decrypt(this);
|
||||
}
|
||||
|
||||
return _decryptedValue;
|
||||
@@ -39,7 +39,7 @@ var Site = function (obj, alreadyEncrypted) {
|
||||
this.notes = new CipherString(obj.notes);
|
||||
}
|
||||
|
||||
this.favorite = new obj.favorite;
|
||||
this.favorite = obj.favorite ? true : false;
|
||||
};
|
||||
|
||||
var Folder = function (obj, alreadyEncrypted) {
|
||||
|
||||
Reference in New Issue
Block a user