| password.js | |
| Functions | |
| onLoad | This function is called when the password.xul form is show. |
| onAccept | This function is called when the Ok button is pressed. |
function onLoad( win )
This function is called when the password.xul form is show. It’s init the differents objets (like the translated strings).
| win | The form herself. |
| window.arguments[0].password | The password to pre-set. |
| window.arguments[0].save_password | The default value of the savepassword checkbox. |
| window.arguments[0].question | The text to show for the prompt. |
| window.arguments[0].domain | Optional. Say the password is asked form this page and disable the savepassword checkbox. |
This function is called when the password.xul form is show.
function onLoad( win )
This function is called when the Ok button is pressed.
function onAccept()