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

    r3c9c29 r509348  
    3636function identityDataExtrasObject_fccSwitch(currentWindow) {
    3737  this.currentWindow = currentWindow;
    38   this.field  = "fcc";                        // description of the option
    39   this.option = "storageExtras_fcc";    // option string to get preference settings
     38  this.field = "fcc"; // description of the option
     39  this.option = "storageExtras_fcc"; // option string to get preference settings
    4040  this.elementID_msgCompose = "virtualIdentityExtension_fccSwitch";
    4141}
    4242identityDataExtrasObject_fccSwitch.prototype = {
    4343  __proto__: identityDataExtrasCheckboxObject.prototype,
    44  
    45   readIdentityValue : function(identity) {
    46     if (this.active) this.value = (identity.doFcc)?"true":"false";
     44
     45  readIdentityValue: function (identity) {
     46    if (this.active) this.value = (identity.doFcc) ? "true" : "false";
    4747  },
    4848
    49   setValueToEnvironment_msgCompose: function() {
     49  setValueToEnvironment_msgCompose: function () {
    5050    var element = this.currentWindow.document.getElementById(this.elementID_msgCompose);
    5151    if (!this.active || (this.value == null) || !element)
    5252      return;
    53    
     53
    5454    this.updateFunction_msgCompose();
    5555    if ((element.getAttribute("checked") == "true") != (this.value == "true")) {
    56       Log.debug("change "+ this.field + " to " + this.value + " directly");
     56      Log.debug("change " + this.field + " to " + this.value + " directly");
    5757      element.setAttribute("checked", (element.getAttribute("checked") != "true"));
    5858    }
Note: See TracChangeset for help on using the changeset viewer.