Skip to content

Commit

Permalink
Fix for ticket 98 - Editor: 'commit' event seems to fire too often.
Browse files Browse the repository at this point in the history
  • Loading branch information
micmath authored and jakearchibald committed Sep 7, 2009
1 parent 1463f0b commit bffef96
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/widgets/editor/editor.js
Expand Up @@ -1002,10 +1002,8 @@ Idler.prototype._stop = function() {
//events.addListener(that.element[0].contentWindow, 'blur', function () { updateArea.call(that); } );
}
else {
events.addListener(that.contentWindow, 'blur', function () { updateArea.call(that); } );
//events.addListener(that.contentWindow, 'focus', function () { updateArea.call(that); } );
events.addListener(that.contentWindow.document, 'blur', function () { updateArea.call(that); } );
events.addListener(that.contentWindow, 'click', function () { updateArea.call(that); } );
events.addListener(that.contentWindow, 'mouseup', function () { updateArea.call(that); } );
events.addListener(that.contentWindow, 'keyup', function () { updateArea.call(that); } );
}
if (glow.env.gecko) {
Expand Down

0 comments on commit bffef96

Please sign in to comment.