Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 6ca6b75

Browse files
committed
Fixes bug where resend refund was not working.
1 parent ffe989c commit 6ca6b75

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

js/templates/transactionModal.html

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,20 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
120120
<%= polyglot.t('transactions.AcceptDisputeResolution') %>
121121
</a>
122122
<% } else if(ob.status == 7 && ob.transactionType == "sales"){ %>
123-
<a class="btn btn-txt custCol-primary pull-left textOpacity1 js-refundTransactionResend tooltip tooltip-box"
123+
<a class="btn btn-txt custCol-primary pull-left textOpacity1 confirmable js-refundTransaction tooltip tooltip-box"
124124
data-tooltip="<%= polyglot.t('transactions.RefundOrderResendTooltip') %>">
125-
<span class="ion-arrow-return-left fontSize11 marginRight2 textOpacity1"></span>
126-
<%= polyglot.t('transactions.RefundOrderResend') %>
125+
<span class="preSpacer">
126+
<span class="ion-arrow-return-left fontSize11 marginRight2 textOpacity1"></span>
127+
<%= polyglot.t('transactions.RefundOrderResend') %>
128+
</span>
129+
<span class="preConfirm">
130+
<span class="ion-arrow-return-left fontSize11 marginRight2 textOpacity1"></span>
131+
<%= polyglot.t('transactions.RefundOrderResend') %>
132+
</span>
133+
<span class="postConfirm">
134+
<span class="ion-arrow-return-left fontSize11 marginRight2 textOpacity1"></span>
135+
<%= polyglot.t('transactions.ConfirmRefund') %>
136+
</span>
127137
</a>
128138
<% } %>
129139
<% if(ob.status != 0){ %>

js/views/transactionModalVw.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ module.exports = baseModal.extend({
5050
'click .js-transactionHideContract': 'hideContract',
5151
'click .js-acceptResolution': 'acceptResolution',
5252
'click .js-refundTransaction': 'refundOrder',
53-
'click .js-refundTransactionResend': 'refundOrder',
5453
'focus .js-transactionDiscussionSendText': 'highlightInput',
5554
'blur .js-transactionDiscussionSendText': 'blurInput',
5655
'blur input': 'validateInput',

0 commit comments

Comments
 (0)