Changeset e3ff82


Ignore:
Timestamp:
May 19, 2008, 1:37:46 AM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
f8e898
Parents:
d3b07c
Message:

strict javascript requires variable declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_prefDialog.js

    rd3b07c re3ff82  
    2828*/
    2929
    30 vI_prefDialog = {
     30var vI_prefDialog = {
    3131    preferences : Components.classes["@mozilla.org/preferences-service;1"]
    3232                .getService(Components.interfaces.nsIPrefService)
     
    135135       
    136136        idSelectionConstraint : function() {
    137             storage = document.getElementById("VIdent_identity.storage").checked;
    138             smartDraft = document.getElementById("VIdent_identity.smart_draft").checked;
    139             smartReply = document.getElementById("VIdent_identity.smart_reply").checked;
     137            var storage = document.getElementById("VIdent_identity.storage").checked;
     138            var smartDraft = document.getElementById("VIdent_identity.smart_draft").checked;
     139            var smartReply = document.getElementById("VIdent_identity.smart_reply").checked;
    140140            vI_prefDialog.base.idSelectionConstraint1(storage && smartReply);
    141141            vI_prefDialog.base.idSelectionConstraint2(storage || smartReply || smartDraft);
Note: See TracChangeset for help on using the changeset viewer.