fixing text editor dblclick bug

This commit is contained in:
Pablo Luna 2011-04-02 16:48:34 +01:00
parent 2b23388b51
commit 5af068986a

View File

@ -69,7 +69,7 @@ mindplot.TextEditor = function(screenManager,actionRunner)
//Register onLostFocus/onBlur event //Register onLostFocus/onBlur event
$(this.inputText).addEvent('blur', this.lostFocusEvent.bind(this)); $(this.inputText).addEvent('blur', this.lostFocusEvent.bind(this));
$(this.inputText).addEvent('click', this.clickEvent.bindWithEvent(this)); $(this.inputText).addEvent('click', this.clickEvent.bindWithEvent(this));
$(this.inputText).addEvent('dblclick', this.clickEvent.bindWithEvent(this));
var elem = this; var elem = this;
var onComplete = function() { var onComplete = function() {