This is just some static backup of the original site, don't expect every link to work!

Ignore:
Timestamp:
Nov 3, 2014, 12:35:40 PM (8 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
7204cb
Parents:
3c9c29
Message:

code formatting (no code changes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/identityDataExtras/PGPSignature.js

    r3c9c29 r509348  
    3636function identityDataExtrasObject_PGPSignature(currentWindow) {
    3737  this.currentWindow = currentWindow;
    38   this.field  = "PGPSig";                        // description of the option
    39   this.option = "storageExtras_openPGP_messageSignature";    // option string to get preference settings
     38  this.field = "PGPSig"; // description of the option
     39  this.option = "storageExtras_openPGP_messageSignature"; // option string to get preference settings
    4040  this.elementID_msgCompose = "enigmail_signed_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  };
    4344}
    4445identityDataExtrasObject_PGPSignature.prototype = {
    4546  __proto__: identityDataExtrasCheckboxObject.prototype,
    46  
    47   readIdentityValue : function(identity) {
     47
     48  readIdentityValue: function (identity) {
    4849    if (this.active) {
    4950      if (identity.getIntAttribute('defaultEncryptionPolicy') > 0)
    50         this.value = (identity.getBoolAttribute('pgpSignEncrypted'))?"true":"false";
     51        this.value = (identity.getBoolAttribute('pgpSignEncrypted')) ? "true" : "false";
    5152      else
    52         this.value = (identity.getBoolAttribute('pgpSignPlain'))?"true":"false";
     53        this.value = (identity.getBoolAttribute('pgpSignPlain')) ? "true" : "false";
    5354    }
    5455  }
Note: See TracChangeset for help on using the changeset viewer.