Checked in patch for bug 246705

This commit is contained in:
mostafah%oeone.com 2004-06-15 13:33:15 +00:00
Родитель 3c6aeb0b13
Коммит a1598c759c
1 изменённых файлов: 9 добавлений и 5 удалений

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

@ -1046,11 +1046,6 @@ function goFindNewCalendars()
}
}
function displayCalendarVersion()
{
window.openDialog('chrome://calendar/content/about.xul', 'About','modal,centerscreen,chrome,width=500,resizable=yes');
}
function playSound( ThisURL )
{
ThisURL = "chrome://calendar/content/sound.wav";
@ -1524,6 +1519,15 @@ function changeDisplayToDoInViewCheckbox( menuindex ) {
gCalendarWindow.currentView.refreshEvents( );
}
// about Calendar dialog
function displayCalendarVersion()
{
// uses iframe, but iframe does not auto-size per bug 80713, so provide height
window.openDialog("chrome://calendar/content/about.xul", "About","modal,centerscreen,chrome,width=500,height=450,resizable=yes");
}
// about Sunbird dialog
function openAboutDialog()
{
window.openDialog("chrome://calendar/content/aboutDialog.xul", "About", "modal,centerscreen,chrome,resizable=no");