fix link icon tooltip bug
parent
d821db27ba
commit
f3c7667359
|
@ -33,16 +33,18 @@ mindplot.LinkIcon = new Class({
|
|||
|
||||
_registerEvents:function () {
|
||||
this._image.setCursor('pointer');
|
||||
this._tip = new mindplot.widget.LinkIconTooltip(this);
|
||||
|
||||
var me = this;
|
||||
if (!this._readOnly) {
|
||||
// Add on click event to open the editor ...
|
||||
this.addEvent('click', function (event) {
|
||||
this._tip.hide();
|
||||
this._topic.showLinkEditor();
|
||||
event.stopPropagation();
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
this._tip = new mindplot.widget.LinkIconTooltip(this);
|
||||
},
|
||||
|
||||
getModel:function () {
|
||||
|
|
Loading…
Reference in New Issue