mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-13 02:17:55 +01:00
remove bind from LinkIcon
This commit is contained in:
parent
ba638f06a1
commit
5d6ace0852
@ -34,12 +34,13 @@ mindplot.LinkIcon = new Class({
|
|||||||
_registerEvents:function () {
|
_registerEvents:function () {
|
||||||
this._image.setCursor('pointer');
|
this._image.setCursor('pointer');
|
||||||
|
|
||||||
|
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) {
|
||||||
this._topic.showLinkEditor();
|
me._topic.showLinkEditor();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}.bind(this));
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this._tip = new mindplot.widget.LinkIconTooltip(this);
|
this._tip = new mindplot.widget.LinkIconTooltip(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user