Changeset 509348 for modules/identityDataExtras/sMimeEncryption.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/sMimeEncryption.js
r3c9c29 r509348 36 36 function identityDataExtrasObject_sMimeEncryption(currentWindow) { 37 37 this.currentWindow = currentWindow; 38 this.field = "sMimeEnc";// description of the option39 this.option = "storageExtras_sMime_messageEncryption"; 38 this.field = "sMimeEnc"; // description of the option 39 this.option = "storageExtras_sMime_messageEncryption"; // option string to get preference settings 40 40 this.elementID_msgCompose = "menu_securityEncryptRequire1"; 41 this.updateFunction_msgCompose = function() { 42 (typeof(this.currentWindow.setSecuritySettings)=='function')?this.currentWindow.setSecuritySettings(1):null }; 41 this.updateFunction_msgCompose = function () { 42 (typeof (this.currentWindow.setSecuritySettings) == 'function') ? this.currentWindow.setSecuritySettings(1): null 43 }; 43 44 } 44 45 identityDataExtrasObject_sMimeEncryption.prototype = { 45 46 __proto__: identityDataExtrasCheckboxObject.prototype, 46 47 readIdentityValue : function(identity) {48 if (this.active) this.value = (identity.getIntAttribute('encryptionpolicy') == 2) ?"true":"false";47 48 readIdentityValue: function (identity) { 49 if (this.active) this.value = (identity.getIntAttribute('encryptionpolicy') == 2) ? "true" : "false"; 49 50 } 50 51 }
Note: See TracChangeset
for help on using the changeset viewer.