소스 검색

[fix] if redirect uri exists then automatically redirect the user

pull/2/head
Saurabh 6 년 전
부모
커밋
969303dc92
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 %}

불러오는 중...
취소
저장