Changeset 9250ea


Ignore:
Timestamp:
May 21, 2008, 11:44:54 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
7134bd
Parents:
a71534
Message:

init not triggered with TB 1.5 (debian) and Seamonkey

File:
1 edited

Legend:

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

    ra71534 r9250ea  
    210210    // initialization //
    211211    init: function() {
     212        window.removeEventListener('load', vI.init, false);
     213        window.removeEventListener('compose-window-init', vI.init, true);
    212214        if (vI.elements.Area_MsgIdentityHbox) return; // init done before, (?reopen)
    213215        vI_notificationBar.dump("## v_identity: init.\n")
     
    374376
    375377vI.replacement_functions.replace_FillIdentityList();
    376 window.addEventListener('compose-window-init', vI.init, true);
    377 // window.addEventListener("unload", vI.remove, false);
     378window.addEventListener('load', vI.init, false);        // TB 1.5x, SM
     379window.addEventListener('compose-window-init', vI.init, true);  // TB 2.x 3.x
Note: See TracChangeset for help on using the changeset viewer.