Bug WISE-435 #resolve

This commit is contained in:
Ezequiel Bergamaschi
2015-04-02 17:50:16 -03:00
parent abbeab2f8f
commit 98670c32a6
4 changed files with 7 additions and 4 deletions

View File

@@ -1036,6 +1036,7 @@ mindplot.Designer = new Class(/** @lends Designer */{
var topic = model.selectedTopic();
if (topic) {
topic.showLinkEditor();
this.onObjectFocusEvent();
}
},
@@ -1045,6 +1046,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();
});
}