This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
payments
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
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
547863149c
969303dc92
commit
0b0aa79a47
1 changed files
with
9 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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 %}
Write
Preview
Loading…
Cancel
Save