Huji has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/328603 )

Change subject: HTMLMultiSelect should allow a parameter specifying which 
options are disabled
......................................................................

HTMLMultiSelect should allow a parameter specifying which options are disabled

Bug: T153751
Change-Id: I3bcf6720c960e0be962e0f3f37a22ec8778db1d1
---
M includes/htmlform/HTMLFormField.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/03/328603/1

diff --git a/includes/htmlform/HTMLFormField.php 
b/includes/htmlform/HTMLFormField.php
index 804bbff..f1d2e0c 100644
--- a/includes/htmlform/HTMLFormField.php
+++ b/includes/htmlform/HTMLFormField.php
@@ -995,7 +995,7 @@
         * @return array Attributes
         */
        public function getAttributes( array $list ) {
-               static $boolAttribs = [ 'disabled', 'required', 'autofocus', 
'multiple', 'readonly' ];
+               static $boolAttribs = [ 'required', 'autofocus', 'multiple', 
'readonly' ];
 
                $ret = [];
                foreach ( $list as $key ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/328603
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3bcf6720c960e0be962e0f3f37a22ec8778db1d1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Huji <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to