Changeset ebd67e


Ignore:
Timestamp:
Mar 24, 2012, 7:49:18 PM (9 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
bf34ea
Parents:
ab25fc
Message:

improved and fixed extras

Location:
modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • modules/identityDataExtras/fccSwitch.js

    rab25fc rebd67e  
    4545  readIdentityValue : function(identity) {
    4646    if (this.active) this.value = (identity.doFcc)?"true":"false";
     47  },
     48
     49  setValueToEnvironment_msgCompose: function() {
     50    var element = this.currentWindow.document.getElementById(this.elementID_msgCompose);
     51    if (!this.active || (this.value == null) || !element)
     52      return;
     53   
     54    this.updateFunction_msgCompose();
     55    if ((element.getAttribute("checked") == "true") != (this.value == "true")) {
     56      Log.debug("change "+ this.field + " to " + this.value + " directly");
     57      element.setAttribute("checked", (element.getAttribute("checked") != "true"));
     58    }
    4759  }
    4860}
  • modules/identityDataExtras/messageFormat.js

    rab25fc rebd67e  
    5252      return
    5353    this.currentWindow.document.getElementById(this.value).setAttribute("checked","true");
    54     OutputFormatMenuSelect(this.currentWindow.document.getElementById(this.value))
     54    this.currentWindow.OutputFormatMenuSelect(this.currentWindow.document.getElementById(this.value))
    5555  },
    5656 
  • modules/vI_identityDataExtras.js

    rab25fc rebd67e  
    6363      catch (e) {
    6464        Log.warn("identityDataExtras '" + this.extras[i].field + "' returned an error:", e);
    65 //         dumpCallStack(e);
     65        dumpCallStack(e);
    6666      }
    6767    }
Note: See TracChangeset for help on using the changeset viewer.