Keep migration to jQuery ...
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
var mapId = 'welcome';
|
||||
$(document).addEvent('loadcomplete', function(resource) {
|
||||
$(document).bind('loadcomplete', function (resource) {
|
||||
|
||||
// Set readonly option ...
|
||||
var options = loadDesignerOptions();
|
||||
@@ -34,7 +34,7 @@
|
||||
var mindmap;
|
||||
try {
|
||||
mindmap = persistence.load(mapId);
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
// If the map could not be loaded, create a new empty map...
|
||||
mindmap = mindplot.model.Mindmap.buildEmpty(mapId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user