Hi Moi3dFan, I guess during a UI reload (when changing the theme) you can get in the situation that SidePane.htm has not finished loading yet while the Shutdown function is running.
So to guard against an error there try changing the last like of function Shutdown() to this:
code:
if ( moi.ui.sidePane && moi.ui.sidePane.SetAutosaveTimer )
moi.ui.sidePane.SetAutosaveTimer();
- Michael
|