I never did figure out why this was, so all the text boxes
// in the app are cleared here, which deals with the issue. Same thing
// for enabling text fields. If anyone figures out why this happens,
// I'd love to hear it! Until then, I chalk it up as a Firefox quirk.
setValue("contactNameEntry", "");
setValue("contactAddressEntry", "");
setValue("contactNoteEntry", "");
setValue("pop3ServerEntry", "");
setChecked("pop3ServerRequiresLoginEntry", null);
setValue("pop3UsernameEntry", "");
setValue("pop3PasswordEntry", "");
setValue("smtpServerEntry", "");
setChecked("smtpServerRequiresLoginEntry", null);
setValue("smtpUsernameEntry", "");
setValue("smtpPasswordEntry", "");
CHAPTER 4 n INSTAMAIL: AN AJAX-BASED WEBMAIL CLIENT 138
setValue("fromAddressEntry", "");
setValue("composeToEntry", "");
setValue("composeSubjectEntry", "");
setValue("composeTextEntry", "");
setDisabled("contactNameEntry", false);
setDisabled("contactAddressEntry", false);
setDisabled("contactNoteEntry", false);
setDisabled("pop3ServerEntry", false);
setDisabled("pop3ServerRequiresLoginEntry", false);
setDisabled("pop3UsernameEntry", false);
setDisabled("pop3PasswordEntry", false);
setDisabled("smtpServerEntry", false);
setDisabled("smtpServerRequiresLoginEntry", false);
setDisabled("smtpUsernameEntry", false);
setDisabled("smtpPasswordEntry", false);
setDisabled("fromAddressEntry", false);
setDisabled("composeToEntry", false);
setDisabled("composeSubjectEntry", false);
setDisabled("composeTextEntry", false);
// Start out on the Intro view.
Pages:
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273