[fix] [client script] call cur_frm.cscript.custom_ type functions in the callback of standard functions

This commit is contained in:
Anand Doshi
2013-07-29 19:30:39 +05:30
parent 17082e71f1
commit 1fac2a98cf
68 changed files with 154 additions and 154 deletions

View File

@@ -5,7 +5,7 @@ var wn = {};
// Add / update a new Lead / Communication
// subject, sender, description
erpnext.send_message = function(opts) {
wn.call({
return wn.call({
type: "POST",
method: "website.helpers.contact.send_message",
args: opts,
@@ -202,7 +202,7 @@ $.extend(wn.cart, {
}
window.location.href = "login";
} else {
wn.call({
return wn.call({
type: "POST",
method: "website.helpers.cart.update_cart",
args: {