Ejegg has uploaded a new change for review.
https://gerrit.wikimedia.org/r/297928
Change subject: Use 'addModuleStyles' in a couple more places
......................................................................
Use 'addModuleStyles' in a couple more places
Amazon has a repaint during the wait to redirect.
Change-Id: I0ac6aa67b99a60c07c485e3443f6f4b553952b05
---
M amazon_gateway/amazon_gateway.body.php
M worldpay_gateway/worldpay_gateway.body.php
2 files changed, 2 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface
refs/changes/28/297928/1
diff --git a/amazon_gateway/amazon_gateway.body.php
b/amazon_gateway/amazon_gateway.body.php
index c40a75c..94e51a8 100644
--- a/amazon_gateway/amazon_gateway.body.php
+++ b/amazon_gateway/amazon_gateway.body.php
@@ -24,7 +24,7 @@
* Show the special page
*/
protected function handleRequest() {
- $this->getOutput()->addModules(
'ext.donationinterface.amazon.styles' );
+ $this->getOutput()->addModuleStyles(
'ext.donationinterface.amazon.styles' );
$this->getOutput()->addModules(
'ext.donationinterface.amazon.scripts' );
$this->handleDonationRequest();
diff --git a/worldpay_gateway/worldpay_gateway.body.php
b/worldpay_gateway/worldpay_gateway.body.php
index e508ef4..cfb513f 100644
--- a/worldpay_gateway/worldpay_gateway.body.php
+++ b/worldpay_gateway/worldpay_gateway.body.php
@@ -34,7 +34,7 @@
if ( $this->adapter->isESOP() ) {
$this->getOutput()->addModules(
'ext.donationinterface.worldpay.esopjs' );
} else {
- $this->getOutput()->addModules(
'ext.donationinterface.worldpay.styles' ); //loads early
+ $this->getOutput()->addModuleStyles(
'ext.donationinterface.worldpay.styles' ); //loads early
$this->getOutput()->addModules(
'ext.donationinterface.worldpay.code' ); //loads at normal time
}
--
To view, visit https://gerrit.wikimedia.org/r/297928
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ac6aa67b99a60c07c485e3443f6f4b553952b05
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits