r101407 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101406‎ | r101407 | r101408 >
Date:21:14, 31 October 2011
Author:preilly
Status:ok
Tags:
Comment:
fix for bug 32092 MobileFrontend search suggestions + to expand query does not set focus back to search area
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/opensearch.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/opensearch.js
@@ -138,6 +138,7 @@
139139 function sqValUpdate( sqValue ) {
140140 if ( search ) {
141141 search.value = sqValue;
 142+ search.focus();
142143 searchApi( search.value );
143144 }
144145 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r1014081.18wmf1: MFT r101407preilly21:15, 31 October 2011

Status & tagging log