Fix exception on changing central topic shape.

This commit is contained in:
Paulo Gustavo Veiga
2012-03-08 00:30:27 -03:00
parent 0f2af2cb74
commit 0660c7e8c3
6 changed files with 45 additions and 30 deletions

View File

@@ -30,17 +30,12 @@ function buildDesigner(options) {
window.waitDialog.destroy();
});
// Register error handlers ...
designer.addEvent('loadError', function(e) {
window.onerror = function()
{
window.waitDialog.close();
window.waitDialog.destroy();
errorDialog.show();
console.log(e);
});
window.onerror = function()
{
errorDialog.show();
};
// Configure default persistence manager ...