[website] [minor] moving to framework

This commit is contained in:
Rushabh Mehta
2013-09-09 12:17:45 +05:30
parent 46089dbc97
commit c59c4e0699
40 changed files with 49 additions and 61 deletions

View File

@@ -9,7 +9,7 @@ if(!window.wn) wn = {};
erpnext.send_message = function(opts) {
return wn.call({
type: "POST",
method: "website.helpers.contact.send_message",
method: "selling.utils.contact.send_message",
args: opts,
callback: opts.callback
});
@@ -206,7 +206,7 @@ $.extend(wn.cart, {
} else {
return wn.call({
type: "POST",
method: "website.helpers.cart.update_cart",
method: "selling.utils.cart.update_cart",
args: {
item_code: opts.item_code,
qty: opts.qty,