add onload hook

This commit is contained in:
j 2012-05-26 11:37:17 +00:00
parent fd24ccd35b
commit 2b38d61df8

View file

@ -326,6 +326,12 @@ appPanel
}); });
pandora.site.sectionButtonsWidth = pandora.$ui.sectionButtons.width() + 8; pandora.site.sectionButtonsWidth = pandora.$ui.sectionButtons.width() + 8;
if(localStorage && localStorage['pandora.onload']) {
try {
eval(localStorage['pandora.onload'])
} catch(e) {
}
}
}); });
} }