maqetta/maqetta — Issue #1097: Theme editor does not load on second open
Author: billreed63
Created: 2011-10-24 14:21:18+00:00
State: open
Labels: Priority High

When I open the theme editor then close and reopen I see the following exception on the second load:

Uncaught TypeError: Cannot read property 'removeWidgetStyleValues' of undefined
dojo.declare._setSourceDatadavinci/ve/themeEditor/Context:139
dojo.declare._continueLoadingdavinci/ve/Context:844
dojo.declare._setSource.window.(anonymous function)

I think this may be related to the switch to AMD.

to recreate:

1) Create a new theme (clone claro) called c1
2) after theme editor opens close theme editor
3) Open theme c1 You should see the exception and the loading spinner never taken down

Note if you refresh the browser and attempt to open c1 all is well.