rem: document.getElementById( "publish-username-textbox" ).value = args.publishObject.username; document.getElementById( "publish-password-textbox" ).value = args.publishObject.password; 
context: function loadCalendarPublishDialog(){   // Get arguments, see description at top of file      var args = window.arguments[0];      gOnOkFunction = args.onOk;      if( args.publishObject )   {      document.getElementById( "publish-remotePath-textbox" ).value = args.publishObject.remotePath;      document.getElementById( "publish-username-textbox" ).value = args.publishObject.username;      document.getElementById( "publish-password-textbox" ).value = args.publishObject.password;   }   else   {      //get default values from the prefs      document.getElementById( "publish-remotePath-textbox" ).value = opener.getCharPref( opener.gCalendarWindow.calendarPreferences.calendarPref, "publish.path", "" );      document.getElementById( "publish-username-textbox" ).value = opener.getCharPref( opener.gCalendarWindow.calendarPreferences.calendarPref, "publish.username", "" );      document.getElementById( "publish-password-textbox" ).value = opener.getCharPref( opener.gCalendarWindow.calendarPreferences.calendarPref, "publish.password", "" );   }   document.getElementById( "calendar-publishwindow" ).getButton( "accept" ).setAttribute( "label", publishButtonLabel );         checkURLField( );   var firstFocus = document.getElementById( "publish-remotePath-textbox" );   firstFocus.focus();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4c45ef82548cb211397be177fd26e5a4234bc45c/publishDialog.js/clean/calendar/resources/content/publishDialog.js