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:
parent
e5258a5137
commit
39a0ac75d1
@ -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") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user