Javascript: choices / A typo in the documentation
Javascript: choices / A typo in the documentation
- Subject: Javascript: choices / A typo in the documentation
- From: Iceberg-Dev <email@hidden>
- Date: Sun, 12 Oct 2008 13:19:38 +0200
According to page 11 of the "Installer Javascript Reference"
documentation, to access a choice named choice0, you need to use:
choices.['choice0']
This is incorrect, you need to use:
choices['choice0']
The following code also works:
choices.choice0
This is what Installer.app on Mac OS X 10.4.11 says:
/* OK*/
choices.choice0.tooltip="Le petit pont de bois, le petit pont de bois"
/* OK*/
choices['choice0'].tooltip="Le petit pont de bois, le petit pont de
bois"
/* Not OK */
choices.['choice0'].tooltip="Le petit pont de bois, le petit pont de
bois"; <---------------- *** JavaScript Error ***
(Bug ID# 6287095)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden