Bartosz Dziewoński has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/267443

Change subject: Do not add 'mw-ui-input' class to translation filter tabs 
(cx-filters)
......................................................................

Do not add 'mw-ui-input' class to translation filter tabs (cx-filters)

CX is not loading the 'mediawiki.ui.input' module anywhere, and when
something else loads it, the additional styles break the interface.
Clearly this just should not be applied.

Bug: T124892
Change-Id: I79ea1d49be76e1b54e42fd187616401362c2f92d
---
M modules/dashboard/ext.cx.dashboard.js
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/43/267443/1

diff --git a/modules/dashboard/ext.cx.dashboard.js 
b/modules/dashboard/ext.cx.dashboard.js
index fae8c0e..0ff4724 100644
--- a/modules/dashboard/ext.cx.dashboard.js
+++ b/modules/dashboard/ext.cx.dashboard.js
@@ -182,16 +182,16 @@
 
                if ( mw.config.get( 'wgContentTranslationEnableSuggestions' ) ) 
{
                        $filterTabs.push( $( '<span>' )
-                               .addClass( 'cx-filter cx-filter--suggestions 
mw-ui-input' )
+                               .addClass( 'cx-filter cx-filter--suggestions' )
                                .text( mw.msg( 
'cx-translation-filter-suggested-translations' ) ) );
                }
 
                $filterTabs.push( $( '<span>' )
-                       .addClass( 'cx-filter cx-filter--draft mw-ui-input' )
+                       .addClass( 'cx-filter cx-filter--draft' )
                        .text( mw.msg( 
'cx-translation-filter-draft-translations' ) ) );
 
                $filterTabs.push( $( '<span>' )
-                       .addClass( 'cx-filter cx-filter--published mw-ui-input' 
)
+                       .addClass( 'cx-filter cx-filter--published' )
                        .text( mw.msg( 
'cx-translation-filter-published-translations' ) ) );
 
                this.$listHeader = $( '<div>' ).addClass( 'translation-filter' 
);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I79ea1d49be76e1b54e42fd187616401362c2f92d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <matma....@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to