Fix exception on changing central topic shape.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var mapId = 'welcome-reloaded';
|
||||
var mapId = 'welcome';
|
||||
$(document).addEvent('loadcomplete', function(resource) {
|
||||
var options = loadDesignerOptions();
|
||||
var designer = buildDesigner(options);
|
||||
|
@@ -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 ...
|
||||
|
Reference in New Issue
Block a user