always bring up the right prefs

This commit is contained in:
pavlov%pavlov.net 2004-12-16 21:24:53 +00:00
parent 0ef31b4f88
commit b9cbc4fac9

View File

@ -335,9 +335,6 @@ function calendarFinish()
function launchPreferences() function launchPreferences()
{ {
if( applicationName == "Mozilla" || applicationName == "Firebird" ) {
goPreferences( "calendarPanel", "chrome://calendar/content/pref/calendarPref.xul", "calendarPanel" );
} else
window.openDialog("chrome://calendar/content/pref/prefBird.xul", "PrefWindow", "chrome,titlebar,resizable,modal"); window.openDialog("chrome://calendar/content/pref/prefBird.xul", "PrefWindow", "chrome,titlebar,resizable,modal");
} }