Added br to cancel and error message for PayPal checkout dialog box.
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 5 Jun 2018 16:35:09 +0000 (12:35 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 5 Jun 2018 16:35:09 +0000 (12:35 -0400)
views/front/registrations/checkout.html

index ebf6d35..8e5101c 100644 (file)
                     });
                 },
                 onCancel: function(data, actions) {
-                        $('#payPalPaymentWarningMessage').html('You canceled the PayPal Payment. Payment is required to submit your {$terms.reg_term_registration_plur}. If you don\'t wish to pay with PayPal, click the button below and select another payment method.');
+                        $('#payPalPaymentWarningMessage').html('<br>You canceled the PayPal Payment. Payment is required to submit your {$terms.reg_term_registration_plur}. If you don\'t wish to pay with PayPal, click the button below and select another payment method.');
                 },
                 onError: function(err) {
-                    $('#payPalPaymentWarningMessage').html('There was a problem with your PayPal Payment. Payment is required to submit your {$terms.reg_term_registration_plur}. If you\'re unable to pay with PayPal, click the button below and select another payment method.');
+                    $('#payPalPaymentWarningMessage').html('<br>There was a problem with your PayPal Payment. Payment is required to submit your {$terms.reg_term_registration_plur}. If you\'re unable to pay with PayPal, click the button below and select another payment method.');
                 },
                 // Wait for the payment to be authorized by the customer
                 onAuthorize: function(data, actions) {