jenkins-bot has submitted this change and it was merged.

Change subject: When cxserver is not reachable show error message in dashboard
......................................................................


When cxserver is not reachable show error message in dashboard

Show same error message we show in translation view

Bug: T89708
Change-Id: I4e768f31ae827d8bf93db259eb8cf1478a405885
---
M modules/source/ext.cx.source.selector.js
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  KartikMistry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/source/ext.cx.source.selector.js 
b/modules/source/ext.cx.source.selector.js
index 69a24d8..7604190 100644
--- a/modules/source/ext.cx.source.selector.js
+++ b/modules/source/ext.cx.source.selector.js
@@ -132,6 +132,7 @@
                                        response.statusText + ' (' + 
response.status + '). ' +
                                        response.responseText
                                );
+                               mw.hook( 'mw.cx.error' ).fire( mw.msg( 
'cx-error-server-connection' ) );
                        } );
        };
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4e768f31ae827d8bf93db259eb8cf1478a405885
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: Amire80 <amir.ahar...@mail.huji.ac.il>
Gerrit-Reviewer: Jsahleen <jsahl...@wikimedia.org>
Gerrit-Reviewer: KartikMistry <kartik.mis...@gmail.com>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to