Bartosz Dziewoński has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/336248 )

Change subject: FieldLayout: Fix styling for disabled widgets in PHP
......................................................................

FieldLayout: Fix styling for disabled widgets in PHP

Follow-up to 5c8f9d8a4ce7e4a1ba8745d3c17b4540ee006286, which only
fixed it for JS FieldLayout.

Change-Id: I2712d57368c91235160905fab25aa9e91b0040ad
---
M php/layouts/FieldLayout.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/48/336248/1

diff --git a/php/layouts/FieldLayout.php b/php/layouts/FieldLayout.php
index c3fdf1e..80bf5e1 100644
--- a/php/layouts/FieldLayout.php
+++ b/php/layouts/FieldLayout.php
@@ -112,7 +112,7 @@
                // Initialization
                $this
                        ->addClasses( [ 'oo-ui-fieldLayout' ] )
-                       ->toggleClasses( [ 'oo-ui-fieldLayout-disable' ], 
$this->fieldWidget->isDisabled() )
+                       ->toggleClasses( [ 'oo-ui-fieldLayout-disabled' ], 
$this->fieldWidget->isDisabled() )
                        ->appendContent( $this->body );
                if ( count( $this->errors ) || count( $this->notices ) ) {
                        $this->appendContent( $this->messages );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2712d57368c91235160905fab25aa9e91b0040ad
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>

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

Reply via email to