Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

Commit f2a06cb

Browse files
committed
templates being parsed at page load time must be present in base.html to avoid issues with fragment loading. (bug 746789)
1 parent 458e5d6 commit f2a06cb

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

media/js/mkt/payments.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@
107107
}
108108

109109
function completePurchase() {
110-
console.log('completing purchase of ', product);
111-
if (!product) {
112-
console.log('somehow we don\'t have a product!');
113-
}
114110
$(window).unbind('.payments');
115111
overlay.unbind('.payments');
116112
overlay.removeClass('show');

mkt/detail/templates/detail/app.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ <h3 class="hidden">{{ _('Categories') }}</h3>
101101

102102
{{ notification(product, amo, is_dev) }}
103103

104-
{% include 'purchase/message.html' %}
105-
106104
{% set upsell = product.upsell %}
107105
{% if upsell %}
108106
<section id="upsell" class="notification-box full">

mkt/templates/mkt/base.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@
8989

9090
{% include 'purchase/start.html' %}
9191

92+
{% include 'purchase/message.html' %}
93+
9294
{% if not logged %}
9395
<div id="login" class="overlay">
9496
<section>

0 commit comments

Comments
 (0)