rem: gCalendarObject.username = document.getElementById( "server-username-textbox" ).value;  gCalendarObject.password = document.getElementById( "server-password-textbox" ).value;  
context: function onOKCommand(){   gCalendarObject.name = document.getElementById( "server-name-textbox" ).value;   gCalendarObject.remotePath = document.getElementById( "server-path-textbox" ).value;      gCalendarObject.username = document.getElementById( "server-username-textbox" ).value;   gCalendarObject.password = document.getElementById( "server-password-textbox" ).value;   gCalendarObject.publishAutomatically = document.getElementById( "server-publish-checkbox" ).checked;   gCalendarObject.color = document.getElementById( "calendar-color" ).color; //added by Dallas   //TODO: check that the gCalendarObject.path is actually a file, if its not, create it.      // call caller's on OK function   gOnOkFunction( gCalendarObject );         // tell standard dialog stuff to close the dialog   return true;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/4c45ef82548cb211397be177fd26e5a4234bc45c/serverDialog.js/buggy/calendar/resources/content/serverDialog.js