Bug 667438 - Choosing "Custom Page" option erases the text from the Start page button [r=mark.finkle]

This commit is contained in:
Lucas Rocha 2011-08-12 10:02:00 -04:00
Родитель 33b813845a
Коммит 4ca39c776b
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -255,6 +255,11 @@ var PreferencesView = {
display = Browser.selectedBrowser.contentTitle || currentURL; display = Browser.selectedBrowser.contentTitle || currentURL;
} }
break; break;
case "custom":
// If value is custom, this means the user is trying to
// set homepage to the same custom value. Do nothing in
// this case.
return;
} }
// Show or hide the title or URL of the custom homepage // Show or hide the title or URL of the custom homepage