Skip to content

Commit

Permalink
damn you chrome (bug 672560)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Jul 28, 2011
1 parent 4097930 commit 486b85f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions media/js/zamboni/contributions.js
Expand Up @@ -15,7 +15,8 @@ $(document).ready(function() {
success: function(json) {
if (json.paykey) {
/* This is supposed to be a global */
dgFlow = new PAYPAL.apps.DGFlow({expType:'mini'});
//dgFlow = new PAYPAL.apps.DGFlow({expType:'mini'});
dgFlow = new PAYPAL.apps.DGFlow({clicked: el.id});
dgFlow.startFlow(json.url);
} else {
if (!$('#paypal-error').length) {
Expand Down Expand Up @@ -99,7 +100,8 @@ var contributions = {
success: function(json) {
if (json.paykey) {
/* This is supposed to be a global */
dgFlow = new PAYPAL.apps.DGFlow({expType:'mini'});
//dgFlow = new PAYPAL.apps.DGFlow({expType:'mini'});
dgFlow = new PAYPAL.apps.DGFlow({clicked: 'contribute-box'});
dgFlow.startFlow(json.url);
$self.find('span.cancel a').click();
} else {
Expand Down

0 comments on commit 486b85f

Please sign in to comment.