From 61c7d71810823142d121dd029df15c9075abef4b Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Wed, 3 Oct 2007 03:35:32 +0000 Subject: [PATCH] Fix for clearing saved form data using Clear Private Data (bug 333591). Patch by pamg, r+b181=me --- browser/modules/Sanitizer.jsm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/modules/Sanitizer.jsm b/browser/modules/Sanitizer.jsm index 57b19740454..5b01d6c1927 100644 --- a/browser/modules/Sanitizer.jsm +++ b/browser/modules/Sanitizer.jsm @@ -158,9 +158,9 @@ Sanitizer.prototype = { while (windows.hasMoreElements()) { var searchBar = windows.getNext().document.getElementById("searchbar"); if (searchBar) { - searchBar.mTextbox.value = ""; - searchBar.mTextbox.editor.enableUndo(false); - searchBar.mTextbox.editor.enableUndo(true); + searchBar.textbox.value = ""; + searchBar.textbox.editor.enableUndo(false); + searchBar.textbox.editor.enableUndo(true); } }