SearchInputWidget: Fix documented default for 'pushPending' option
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 29 Jun 2017 19:57:05 +0000 (21:57 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 29 Jun 2017 20:24:56 +0000 (22:24 +0200)
Change-Id: Iadee48af255498c6608cfd00fca29eed9b14f1be

includes/widget/SearchInputWidget.php
resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js

index 49510da..90792fc 100644 (file)
@@ -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)
index ae30283..08997aa 100644 (file)
@@ -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