-webnotes +frappe 💥

This commit is contained in:
Rushabh Mehta
2014-02-14 15:47:51 +05:30
parent 8ae051cb39
commit 793ba6bd37
729 changed files with 5194 additions and 9971 deletions

View File

@@ -5,8 +5,8 @@ if(!window.erpnext) window.erpnext = {};
// Add / update a new Lead / Communication
// subject, sender, description
wn.send_message = function(opts, btn) {
return wn.call({
frappe.send_message = function(opts, btn) {
return frappe.call({
type: "POST",
method: "erpnext.templates.utils.send_message",
btn: btn,
@@ -16,4 +16,4 @@ wn.send_message = function(opts, btn) {
};
// for backward compatibility
erpnext.send_message = wn.send_message;
erpnext.send_message = frappe.send_message;