Changeset 509348 for modules/identityDataExtras/PGPEncryption.js
- Timestamp:
- Nov 3, 2014, 12:35:40 PM (8 years ago)
- Branches:
- ng_0.9
- Children:
- 7204cb
- Parents:
- 3c9c29
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/identityDataExtras/PGPEncryption.js
r3c9c29 r509348 36 36 function identityDataExtrasObject_PGPEncryption(currentWindow) { 37 37 this.currentWindow = currentWindow; 38 this.field = "PGPEnc";// description of the option39 this.option = "storageExtras_openPGP_messageEncryption"; 38 this.field = "PGPEnc"; // description of the option 39 this.option = "storageExtras_openPGP_messageEncryption"; // option string to get preference settings 40 40 this.elementID_msgCompose = "enigmail_encrypted_send"; 41 this.updateFunction_msgCompose = function() { 42 (typeof(this.currentWindow.Enigmail.msg.setMenuSettings)=='function')?this.currentWindow.Enigmail.msg.setMenuSettings(''):null }; 41 this.updateFunction_msgCompose = function () { 42 (typeof (this.currentWindow.Enigmail.msg.setMenuSettings) == 'function') ? this.currentWindow.Enigmail.msg.setMenuSettings(''): null 43 }; 43 44 } 44 45 identityDataExtrasObject_PGPEncryption.prototype = { 45 46 __proto__: identityDataExtrasCheckboxObject.prototype, 46 47 readIdentityValue : function(identity) {48 if (this.active) this.value = (identity.getIntAttribute('defaultEncryptionPolicy') > 0) ?"true":"false";47 48 readIdentityValue: function (identity) { 49 if (this.active) this.value = (identity.getIntAttribute('defaultEncryptionPolicy') > 0) ? "true" : "false"; 49 50 } 50 51 }
Note: See TracChangeset
for help on using the changeset viewer.