Santhosh has uploaded a new change for review.

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

Change subject: Fix a js error when publishing fails because of unknown reasons
......................................................................

Fix a js error when publishing fails because of unknown reasons

Change-Id: I2c635fa9b581a9bb3db11ebc2ca2dd986d34bdac
---
M modules/publish/ext.cx.publish.js
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/modules/publish/ext.cx.publish.js 
b/modules/publish/ext.cx.publish.js
index 42e9508..dc76dd4 100644
--- a/modules/publish/ext.cx.publish.js
+++ b/modules/publish/ext.cx.publish.js
@@ -63,7 +63,7 @@
                                                } );
                                }
                                // Any other failure
-                               self.fail( 'cxpublish', '[CX] Unexpected error 
while publishing: ' + response.cxpublish );
+                               self.onFail( 'cxpublish', '[CX] Unexpected 
error while publishing: ' + response.cxpublish );
                        } ).fail( function ( code, details ) {
                                self.onFail( code, details );
                        } ).always( function () {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c635fa9b581a9bb3db11ebc2ca2dd986d34bdac
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>

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

Reply via email to