Skip to content

Commit

Permalink
Ongoing development
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancasler committed Aug 23, 2024
1 parent 5265930 commit ae6bf67
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 22 deletions.
2 changes: 1 addition & 1 deletion dist/engrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* ENGRID PAGE TEMPLATE ASSETS
*
* Date: Thursday, August 22, 2024 @ 21:48:39 ET
* Date: Thursday, August 22, 2024 @ 21:51:56 ET
* By: bryancasler
* ENGrid styles: v0.19.1
* ENGrid scripts: v0.19.1
Expand Down
22 changes: 4 additions & 18 deletions dist/engrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* ENGRID PAGE TEMPLATE ASSETS
*
* Date: Thursday, August 22, 2024 @ 21:48:39 ET
* Date: Thursday, August 22, 2024 @ 21:51:56 ET
* By: bryancasler
* ENGrid styles: v0.19.1
* ENGrid scripts: v0.19.1
Expand Down Expand Up @@ -9346,13 +9346,7 @@ class engrid_ENGrid {


static getPaymentType() {
const paymentTypeField = engrid_ENGrid.getField("transaction.paymenttype");

if (paymentTypeField) {
return paymentTypeField.value;
}

return "";
return engrid_ENGrid.getFieldValue("transaction.paymenttype");
} // Set the Payment Type


Expand Down Expand Up @@ -10796,6 +10790,7 @@ class iFrame {

if (pageNumber > 1) {
engrid_ENGrid.setBodyData("embedded", "thank-you-page-donation");
this.hideFormComponents();
this.logger.log("iFrame Event - Set embedded attribute to thank-you-page-donation");
}
} // Fire the resize event
Expand Down Expand Up @@ -10833,16 +10828,7 @@ class iFrame {

if (this.isChained() && engrid_ENGrid.getPaymentType()) {
this.logger.log("iFrame Event - Chained iFrame");
this.sendIframeFormStatus("chained");
this.hideFormComponents(); // this.addChainedBanner();
} else {
if (!this.isChained()) {
console.debug("iFrame Event - Not Chained iFrame");
}

if (!engrid_ENGrid.getPaymentType()) {
console.debug("iFrame Event - No Payment Type");
}
this.sendIframeFormStatus("chained"); // this.addChainedBanner();
} // Remove the skip link markup when inside an iFrame


Expand Down
2 changes: 1 addition & 1 deletion dist/engrid.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/engrid.min.js

Large diffs are not rendered by default.

0 comments on commit ae6bf67

Please sign in to comment.