From 49eeea21248d2de5f42a8aaf313d400d42724ace Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 29 Jun 2017 21:57:05 +0200 Subject: [PATCH] SearchInputWidget: Fix documented default for 'pushPending' option Change-Id: Iadee48af255498c6608cfd00fca29eed9b14f1be --- includes/widget/SearchInputWidget.php | 2 +- resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/widget/SearchInputWidget.php b/includes/widget/SearchInputWidget.php index 49510da9c9..90792fc195 100644 --- a/includes/widget/SearchInputWidget.php +++ b/includes/widget/SearchInputWidget.php @@ -21,7 +21,7 @@ class SearchInputWidget extends TitleInputWidget { /** * @param array $config Configuration options * @param int|null $config['pushPending'] Whether the input should be visually marked as - * "pending", while requesting suggestions (default: true) + * "pending", while requesting suggestions (default: false) * @param boolean|null $config['performSearchOnClick'] If true, the script will start a search * whenever a user hits a suggestion. If false, the text of the suggestion is inserted into the * text field only (default: true) diff --git a/resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js b/resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js index ae302839df..08997aa444 100644 --- a/resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js +++ b/resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js @@ -14,7 +14,7 @@ * * @constructor * @param {Object} [config] Configuration options - * @cfg {boolean} [pushPending=true] Visually mark the input field as "pending", while + * @cfg {boolean} [pushPending=false] Visually mark the input field as "pending", while * requesting suggestions. * @cfg {boolean} [performSearchOnClick=true] If true, the script will start a search when- * ever a user hits a suggestion. If false, the text of the suggestion is inserted into the -- 2.20.1