mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-08-20 04:30:42 +02:00
fix some errors and old mootools syntax
This commit is contained in:
parent
144424ffe5
commit
6fc214551d
@ -71,7 +71,7 @@ mindplot.widget.IMenu = new Class({
|
||||
// Display save message ..
|
||||
if (saveHistory) {
|
||||
$notify($msg('SAVING'));
|
||||
saveElem.setStyle('cursor', 'wait');
|
||||
saveElem.css('cursor', 'wait');
|
||||
}
|
||||
|
||||
// Call persistence manager for saving ...
|
||||
@ -80,7 +80,7 @@ mindplot.widget.IMenu = new Class({
|
||||
persistenceManager.save(mindmap, mindmapProp, saveHistory, {
|
||||
onSuccess:function () {
|
||||
if (saveHistory) {
|
||||
saveElem.setStyle('cursor', 'pointer');
|
||||
saveElem.css('cursor', 'pointer');
|
||||
$notify($msg('SAVE_COMPLETE'));
|
||||
}
|
||||
menu.setRequireChange(false);
|
||||
@ -88,7 +88,7 @@ mindplot.widget.IMenu = new Class({
|
||||
|
||||
onError:function (error) {
|
||||
if (saveHistory) {
|
||||
saveElem.setStyle('cursor', 'pointer');
|
||||
saveElem.css('cursor', 'pointer');
|
||||
|
||||
if (error.severity != "FATAL") {
|
||||
$notify(error.message);
|
||||
|
@ -502,6 +502,7 @@ mindplot.widget.Menu = new Class({
|
||||
},
|
||||
|
||||
_addButton: function (buttonId, topic, rel, fn) {
|
||||
var me = this;
|
||||
// Register Events ...
|
||||
var result = null;
|
||||
if ($('#'+buttonId)) {
|
||||
|
Loading…
Reference in New Issue
Block a user