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/PGPEncryption.js

    r3c9c29 r509348  
    3636function identityDataExtrasObject_PGPEncryption(currentWindow) {
    3737  this.currentWindow = currentWindow;
    38   this.field  = "PGPEnc";                        // description of the option
    39   this.option = "storageExtras_openPGP_messageEncryption";    // option string to get preference settings
     38  this.field = "PGPEnc"; // description of the option
     39  this.option = "storageExtras_openPGP_messageEncryption"; // option string to get preference settings
    4040  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  };
    4344}
    4445identityDataExtrasObject_PGPEncryption.prototype = {
    4546  __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";
    4950  }
    5051}
Note: See TracChangeset for help on using the changeset viewer.