Bug 460781 - Restoring default start page blanks textbox on Windows, r=Standard8
authorPhil Ringnalda <philringnalda@gmail.com>
Tue, 28 Oct 2008 20:47:30 -0700
changeset 756 a875ba644fa99beb146ef17cecbbf8d5a49f5602
parent 755 ad2956c65a25cf43114068696d38e9a4b8870aa6
child 757 6be903922c669b9390e3fcf2d8b5697a930cdf83
push idunknown
push userunknown
push dateunknown
reviewersStandard8
bugs460781
Bug 460781 - Restoring default start page blanks textbox on Windows, r=Standard8
mail/components/preferences/general.js
--- a/mail/components/preferences/general.js
+++ b/mail/components/preferences/general.js
@@ -94,18 +94,16 @@ var gGeneralPane = {
   
   /**
    * Restores the default start page as the user's start page
    */
   restoreDefaultStartPage: function()
   {
     var startPage = document.getElementById("mailnews.start_page.url");
     startPage.value = startPage.defaultValue;
-    if (startPage.hasUserValue)
-      startPage.reset();
   },
   
   /**
    * Returns a formatted url corresponding to the value of mailnews.start_page.url 
    * Stores the original value of mailnews.start_page.url 
    */
   readStartPageUrl: function()
   {