Bug 309505 Switching views in Lightning results in gray screen, aka decks suck. r=dmose

git-svn-id: svn://10.0.0.236/trunk@180842 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jminta%gmail.com 2005-09-23 01:09:47 +00:00
parent e5258a5137
commit 39a0ac75d1

View File

@ -149,6 +149,13 @@ function selectedCalendarPane(event)
function LtnObserveDisplayDeckChange(event)
{
var deck = event.target;
// Bug 309505: The 'select' event also fires when we change the selected
// panel of calendar-view-box. Workaround with this check.
if (deck.id != "displayDeck") {
return;
}
var id = null;
try { id = deck.selectedPanel.id } catch (e) { }
if (id == "calendar-view-box") {