Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/89105
Change subject: Beta: Re-enable the progress bar
......................................................................
Beta: Re-enable the progress bar
The bug is fixed so do what the README says.
Change-Id: Ie3805af2faf67d4e4e01a0b97ed618477d8adb41
---
M javascripts/common/api.js
1 file changed, 1 insertion(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/05/89105/1
diff --git a/javascripts/common/api.js b/javascripts/common/api.js
index 91eb6fc..d990c3a 100644
--- a/javascripts/common/api.js
+++ b/javascripts/common/api.js
@@ -48,7 +48,7 @@
* @return {jQuery.Deferred} Object returned by $.ajax()
*/
ajax: function( data, options ) {
- var key, request;
+ var key, request, self = this;
options = $.extend( {}, options );
if (
@@ -65,8 +65,6 @@
}
options.data = data;
- // FIXME: uncomment when
https://bugzilla.wikimedia.org/show_bug.cgi?id=44921 is resolved
- /*
options.xhr = function() {
var xhr = $.ajaxSettings.xhr();
if ( xhr.upload ) {
@@ -80,7 +78,6 @@
}
return xhr;
};
- */
request = $.ajax( options );
this.requests.push( request );
--
To view, visit https://gerrit.wikimedia.org/r/89105
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie3805af2faf67d4e4e01a0b97ed618477d8adb41
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits