Topic editor can be configured based on the shape type.

This commit is contained in:
Paulo Gustavo Veiga
2012-03-07 23:51:37 -03:00
parent 8a4dee47f2
commit 7c10b00435
10 changed files with 149 additions and 58 deletions

View File

@@ -30,6 +30,7 @@ function buildDesigner(options) {
window.waitDialog.destroy();
});
// Register error handlers ...
designer.addEvent('loadError', function(e) {
window.waitDialog.close();
window.waitDialog.destroy();
@@ -37,7 +38,11 @@ function buildDesigner(options) {
console.log(e);
});
// window.onerror = function()
// {
// errorDialog.show();
// };
//
// Configure default persistence manager ...
var persistence;
if (options.persistenceManager) {
@@ -209,8 +214,7 @@ editor.FatalErrorDialog = new Class({
}.bind(this));
this.overlay.close();
}}
)
;
);
this.setContent(panel);
},