r103874 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r103873
|
r103874
|
r103875
>
Date:
23:54, 21 November 2011
Author:
tparscal
Status:
deferred
Tags:
Comment:
Added support for meta key (mac command key) for undo/redo
Modified paths:
/trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js
—
—
@@ -352,12 +352,12 @@
353
353
e.preventDefault();
354
354
break;
355
355
case 90: // z (undo)
356
- if ( e.ctrlKey ) {
356
+ if ( e.metaKey || e.ctrlKey ) {
357
357
this.history.undo();
358
358
}
359
359
break;
360
360
case 89: // y (redo)
361
- if ( e.ctrlKey ) {
361
+ if ( e.metaKey || e.ctrlKey ) {
362
362
this.history.redo();
363
363
}
364
364
break;
Status & tagging log
13:58, 25 November 2011
Hashar
(
talk
|
contribs
)
changed the
status
of r103874
[
removed:
new
added:
deferred]