store on-load script on server (ui.onload), fixes #1850

This commit is contained in:
j 2014-04-09 15:44:28 +00:00
commit 614e7f0d09
7 changed files with 20 additions and 13 deletions

View file

@ -426,11 +426,7 @@ appPanel
});
Ox.Fullscreen.bind('exit', pandora.UI.set);
pandora.site.sectionButtonsWidth = pandora.$ui.sectionButtons.width() + 8;
if (getLocalStorage('pandora.onload')) {
try {
eval(localStorage['pandora.onload'])
} catch(e) {}
}
pandora.loadUserScript();
}
function loadBrowserMessage() {