[Project_owners] Accessing locale strings
sneakypete81 at gmail.com
Tue Jul 10 16:21:35 PDT 2007
On 10/07/07, Michael Vincent van Rantwijk, MultiZilla
<mv_van_rantwijk at yahoo.com> wrote:
> Hm, this rather looks like getElementById("updatescanStrings") is
> failing, otherwise you would probably have seen some JS error about
> document being undefined or what not, which is a lot harder to believe
> without proof.
True - I didn't quite think it through. Perhaps it's more likely that
the stringbundle isn't getting inserted into the DOM until after the
event gets called?
In any case, using nsIStringBundleService has solved the problem.
More information about the Project_owners