mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 07:27:56 +01:00
hide tooltip when editor is shown
This commit is contained in:
parent
658bbdf135
commit
05e44551a3
@ -33,17 +33,18 @@ mindplot.LinkIcon = new Class({
|
|||||||
|
|
||||||
_registerEvents:function () {
|
_registerEvents:function () {
|
||||||
this._image.setCursor('pointer');
|
this._image.setCursor('pointer');
|
||||||
|
this._tip = new mindplot.widget.LinkIconTooltip(this);
|
||||||
|
|
||||||
var me = this;
|
var me = this;
|
||||||
if (!this._readOnly) {
|
if (!this._readOnly) {
|
||||||
// Add on click event to open the editor ...
|
// Add on click event to open the editor ...
|
||||||
this.addEvent('click', function (event) {
|
this.addEvent('click', function (event) {
|
||||||
|
me._tip.hide();
|
||||||
me._topic.showLinkEditor();
|
me._topic.showLinkEditor();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this._tip = new mindplot.widget.LinkIconTooltip(this);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getModel:function () {
|
getModel:function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user