Showing
1 changed file
with
2 additions
and
1 deletions
@@ -58,9 +58,10 @@ function render(data) { | @@ -58,9 +58,10 @@ function render(data) { | ||
58 | ' <button id="chose-btn-sure" class="btn btn-sure"></button>' + | 58 | ' <button id="chose-btn-sure" class="btn btn-sure"></button>' + |
59 | ' </div>' + | 59 | ' </div>' + |
60 | '</div>'; | 60 | '</div>'; |
61 | - $('.chose-panel').addClass('data-bind').html(htmlTemplate).append('<input id="promotionId" type="hidden" value="">').append('<input id="single" type="hidden" value="">'); | 61 | + |
62 | $('#promotionId').remove(); | 62 | $('#promotionId').remove(); |
63 | $('#single').remove(); | 63 | $('#single').remove(); |
64 | + $('.chose-panel').addClass('data-bind').html(htmlTemplate).append('<input id="promotionId" type="hidden" value="">').append('<input id="single" type="hidden" value="">'); | ||
64 | 65 | ||
65 | if (data.cartInfo) { | 66 | if (data.cartInfo) { |
66 | $chosePanel.removeClass(dbClass); | 67 | $chosePanel.removeClass(dbClass); |
-
Please register or login to post a comment