Merged wisemapping/wisemapping-open-source into develop

This commit is contained in:
Christina Korger
2015-04-04 22:07:07 +02:00
18 changed files with 443 additions and 346 deletions

View File

@@ -1013,6 +1013,7 @@ mindplot.Designer = new Class(/** @lends Designer */{
var topic = model.selectedTopic();
if (topic) {
topic.showLinkEditor();
this.onObjectFocusEvent();
}
},
@@ -1022,6 +1023,7 @@ mindplot.Designer = new Class(/** @lends Designer */{
var topic = model.selectedTopic();
if (topic) {
topic.showNoteEditor();
this.onObjectFocusEvent();
}
},

View File

@@ -15,9 +15,6 @@ var BootstrapDialog = new Class({
this.options.onEventData.dialog = this;
this._native = $('<div class="modal fade" tabindex="-1"></div>').append('<div class="modal-dialog"></div>');
var content = $('<div class="modal-content"></div>');
content.on('keydown', function(event) {
event.stopPropagation();
});
var header = this._buildHeader(title);
if (header) {
content.append(header);

View File

@@ -353,6 +353,7 @@ mindplot.widget.Menu = new Class({
closeButton: true,
cancelButton: true
});
designer.onObjectFocusEvent();
});
this._registerTooltip('shareIt', $msg('COLLABORATE'));
@@ -365,6 +366,7 @@ mindplot.widget.Menu = new Class({
closeButton: true,
cancelButton: true
});
designer.onObjectFocusEvent();
});
this._registerTooltip('publishIt', $msg('PUBLISH'));
}
@@ -377,6 +379,7 @@ mindplot.widget.Menu = new Class({
closeButton: true,
cancelButton: true
});
designer.onObjectFocusEvent();
});
this._registerTooltip('history', $msg('HISTORY'));
}
@@ -392,6 +395,7 @@ mindplot.widget.Menu = new Class({
closeButton: true,
cancelButton: true
});
designer.onObjectFocusEvent();
event.preventDefault();
});
}