r104513 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104512‎ | r104513 | r104514 >
Date:23:54, 28 November 2011
Author:inez
Status:deferred
Tags:
Comment:
Support select all (ctrl/metakey + a) on mac
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
@@ -427,7 +427,7 @@
428428
429429 // a (select all)
430430 case 65:
431 - if ( e.ctrlKey ) {
 431+ if ( e.metaKey || e.ctrlKey ) {
432432 this.model.select( new es.Range(
433433 this.model.getDocument().getRelativeContentOffset( 0, 1 ),
434434 this.model.getDocument().getRelativeContentOffset(

Status & tagging log