Bug WISE-435 #resolve

This commit is contained in:
Ezequiel Bergamaschi 2015-04-02 17:50:16 -03:00
parent b485086b4e
commit 02b9fa83ab
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();
});
}

View File

@ -65,7 +65,7 @@
<p><strong><spring:message code="ADD_PEOPLE"/>:</strong></p>
<input type="text" id="collabEmails" name="collabEmails" class="form-control" autofocus='autofocus'
<input type="text" id="collabEmails" name="collabEmails" class="form-control"
placeholder="<spring:message code="COLLABORATORS_SEPARATED_BY_COMA"/>"/>
<div class="btn-group" id="roleBtn">