r103951 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r103950
|
r103951
|
r103952
>
Date:
20:04, 22 November 2011
Author:
neilk
Status:
ok
Tags:
Comment:
fixed
bug #27735
, select field on click/focus
Modified paths:
/trunk/extensions/UploadWizard/resources/mw.UploadWizard.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js
—
—
@@ -916,7 +916,10 @@
917
917
return $j( '<input/>' ).addClass( 'mwe-title ui-corner-all' )
918
918
.readonly()
919
919
.val( s )
920
- .focus( function() { this.select(); } );
920
+ .click( function() {
921
+ this.focus();
922
+ this.select();
923
+ } );
921
924
},
922
925
923
926
/**
Status & tagging log
00:59, 1 December 2011
Raindrift
(
talk
|
contribs
)
changed the
status
of r103951
[
removed:
new
added:
ok]