Keep migration to jQuery ...

This commit is contained in:
Paulo Gustavo Veiga
2014-03-04 22:48:31 -03:00
parent 18d956fa08
commit f1fa99a85e
20 changed files with 196 additions and 252 deletions

View File

@@ -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);
}