password.js

Summary
password.js
Functions
onLoadThis function is called when the password.xul form is show.
onAcceptThis function is called when the Ok button is pressed.

Functions

onLoad

function onLoad(win)

This function is called when the password.xul form is show.  It’s init the differents objets (like the translated strings).

Parameters

winThe form herself.
window.arguments[0].passwordThe password to pre-set.
window.arguments[0].save_passwordThe default value of the savepassword checkbox.
window.arguments[0].questionThe text to show for the prompt.
window.arguments[0].domainOptional.  Say the password is asked form this page and disable the savepassword checkbox.

onAccept

function onAccept()

This function is called when the Ok button is pressed.  It’s prepare the differents data to return them.

function onLoad(win)
This function is called when the password.xul form is show.
function onAccept()
This function is called when the Ok button is pressed.
Close