[FIX] website_sale: checkout process: fixed carrier choice redirection
bzr revid: tde@openerp.com-20131219105122-awib6gys6uklbvxa
This commit is contained in:
parent
348a2bda96
commit
86fc66e797
|
@ -4,9 +4,7 @@ $(document).ready(function () {
|
|||
var $carrier = $("#delivery_carrier");
|
||||
$carrier.find("input[name='delivery_type']").click(function (ev) {
|
||||
var carrier_id = $(ev.currentTarget).val();
|
||||
var link = $carrier.find('a');
|
||||
link.attr('href', '/shop/payment?carrier_id=' + carrier_id);
|
||||
window.location.href = link.attr('href');
|
||||
window.location.href = '/shop/payment?carrier_id=' + carrier_id;
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
@ -52,9 +52,6 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- <div class="col-lg-3 col-sm-3">
|
||||
<a t-href="/shop/payment"><button class="btn btn-primary">Update</button></a>
|
||||
</div> -->
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue