This is just some static backup of the original site, don't expect every link to work!

Changeset 09e28c


Ignore:
Timestamp:
May 21, 2008, 4:50:39 PM (15 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
a7a29e
Parents:
ced464
Message:

added timeout to show init-page on TB 3.x (after restart from addon dialog)

File:
1 edited

Legend:

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

    rced464 r09e28c  
    2626    Obj_TextBox : null,
    2727    string : null,
     28    objectID : null,
    2829   
    2930    init : function(objectID, stringName) {
    30         vI_htmlTextBox.Obj_TextBox = document.getElementById(objectID);
     31        vI_htmlTextBox.objectID = objectID;
    3132        vI_htmlTextBox.string = document.getElementById("vITextBoxBundle").getString(stringName);
    32         window.setTimeout(vI_htmlTextBox.__init, 0)
     33        window.setTimeout(vI_htmlTextBox.__init, 200)
    3334    },
    3435   
    3536    __init : function () {
     37        vI_htmlTextBox.Obj_TextBox = document.getElementById(vI_htmlTextBox.objectID);
    3638        vI_htmlTextBox.Obj_TextBox.contentDocument
    3739            .lastChild.setAttribute("style", "background-color: -moz-dialog; font: -moz-dialog;");
    3840        vI_htmlTextBox.__echo(vI_htmlTextBox.string);
     41//      vI_htmlTextBox.Obj_TextBox.setAttribute("hidden", "false");
    3942    },
    4043   
Note: See TracChangeset for help on using the changeset viewer.