rem: gCommonDialogParam.SetInt(0, 0 ); var numEditfields = gCommonDialogParam.GetInt( 3 ); if (numEditfields == 2) { var editField2 = document.getElementById("dialog.password2"); gCommonDialogParam.SetString(7, editField2.value); } 
add: gCommonDialogParam.SetInt(0, 0); var numEditfields = gCommonDialogParam.GetInt(3); if (numEditfields == 2) { var editField2 = document.getElementById("dialog.password2"); gCommonDialogParam.SetString(7, editField2.value); } 
context: function commonDialogOnOK(){	gCommonDialogParam.SetInt(0, 0 );	var numEditfields = gCommonDialogParam.GetInt( 3 );	if (numEditfields == 2)     {      var editField2 = document.getElementById("dialog.password2");      gCommonDialogParam.SetString(7, editField2.value);    }  var editfield1Password = gCommonDialogParam.GetInt(4);  var editField1 = editfield1Password == 1 ? document.getElementById("dialog.password1") :                                             document.getElementById("dialog.loginname");  gCommonDialogParam.SetString(6, editField1.value);  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/21221e35e3f6619691223806c72e2c676f934bea/commonDialog.js/clean/xpfe/global/resources/content/commonDialog.js