[CLEAN] website_sale_delivery: removed dead JS code

bzr revid: tde@openerp.com-20131217163912-4br0aar371qvr5cs
This commit is contained in:
Thibault Delavallée 2013-12-17 17:39:12 +01:00
parent 3805a86302
commit e701544aa4
1 changed files with 0 additions and 21 deletions

View File

@ -1,26 +1,5 @@
$(document).ready(function () {
// $('.js_nav_month a:first').on('click', function (e) {
// e.preventDefault();
// var $ul = $(this).next("ul");
// if (!$ul.find('li').length) {
// // TODO: Why POST? (to pass the domain) A GET would be more appropriate...
// // This should be done server side anyway...
// $.post('/blog/nav', {'domain': $(this).data("domain")}, function (result) {
// var blog_id = +window.location.pathname.split("/").pop();
// $(JSON.parse(result)).each(function () {
// var $li = $($.parseHTML(this.fragment));
// if (blog_id == this.id) $li.addClass("active");
// if (!this.website_published) $li.find('a').css("color", "red");
// $ul.append($li);
// });
// });
// } else {
// $ul.toggle();
// }
// });
// When choosing an delivery carrier, update the quotation and the acquirers
var $carrier = $("#delivery_carrier");
$carrier.find("input[name='delivery_type']").click(function (ev) {