Browse Source

Merge pull request #6250 from saurabh6790/get_reset_password_url

[fix] if redirect uri exists then automatically redirect the user
pull/2/head
Saurabh 6 years ago
committed by GitHub
parent
commit
0b0aa79a47
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      payments/templates/pages/payment-success.html

+ 9
- 0
payments/templates/pages/payment-success.html View File

@@ -15,4 +15,13 @@
<style> <style>
{% include "templates/styles/card_style.css" %} {% include "templates/styles/card_style.css" %}
</style> </style>
<script>
frappe.ready(function() {
if('{{ frappe.form_dict.redirect_to or "" }}'){
setTimeout(function(){
window.location.href = '{{ frappe.form_dict.redirect_to }}';
}, 6000);
}
})
</script>
{% endblock %} {% endblock %}

Loading…
Cancel
Save