Changeset 509348 for modules/identityDataExtras/sMimeSignature.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/sMimeSignature.js
r3c9c29 r509348 36 36 function identityDataExtrasObject_sMimeSignature(currentWindow) { 37 37 this.currentWindow = currentWindow; 38 this.field = "sMimeSig";// description of the option39 this.option = "storageExtras_sMime_messageSignature"; 38 this.field = "sMimeSig"; // description of the option 39 this.option = "storageExtras_sMime_messageSignature"; // option string to get preference settings 40 40 this.elementID_msgCompose = "menu_securitySign1"; 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_sMimeSignature.prototype = { 45 46 __proto__: identityDataExtrasCheckboxObject.prototype, 46 47 readIdentityValue : function(identity) {48 if (this.active) this.value = (identity.getBoolAttribute('sign_mail')) ?"true":"false";47 48 readIdentityValue: function (identity) { 49 if (this.active) this.value = (identity.getBoolAttribute('sign_mail')) ? "true" : "false"; 49 50 } 50 51 }
Note: See TracChangeset
for help on using the changeset viewer.