r112276 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r112275
|
r112276
|
r112277
>
Date:
00:04, 24 February 2012
Author:
rmoen
Status:
deferred
Tags:
Comment:
Fixed bug when moving cursor with click. Calling showCursor after input regains focus prevents browser from freakishly scrolling
Modified paths:
/trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
—
—
@@ -380,9 +380,6 @@
381
381
);
382
382
this.mouse.selectedRange = selection.clone();
383
383
}
384
- //cancel ime mode by losing focus
385
- this.$input.blur();
386
- this.$input.focus();
387
384
}
388
385
389
386
var _this = this;
—
—
@@ -407,6 +404,12 @@
408
405
select();
409
406
}
410
407
408
+ //cancel input modes
409
+ this.resetText();
410
+ //end ime
411
+ this.$input.blur();
412
+ this.$input.focus();
413
+ this.showCursor();
411
414
return false;
412
415
};
413
416
Follow-up revisions
Revision
Commit summary
Author
Date
r112278
follow up to
r112276
, fixed bug which prevented word selection
rmoen
00:32, 24 February 2012
Status & tagging log
16:37, 28 February 2012
Hashar
(
talk
|
contribs
)
changed the
status
of r112276
[
removed:
new
added:
deferred]