Преглед изворни кода

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 година
committed by GitHub
родитељ
комит
0b0aa79a47
1 измењених фајлова са 9 додато и 0 уклоњено
  1. +9
    -0
      payments/templates/pages/payment-success.html

+ 9
- 0
payments/templates/pages/payment-success.html Прегледај датотеку

@@ -15,4 +15,13 @@
<style>
{% include "templates/styles/card_style.css" %}
</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 %}

Loading…
Откажи
Сачувај