@@ -1,7 +1,7 @@ | |||||
cur_frm.cscript.onload = function(doc) { | cur_frm.cscript.onload = function(doc) { | ||||
cur_frm.fields_dict.user.get_query = function() { | cur_frm.fields_dict.user.get_query = function() { | ||||
return { | return { | ||||
query: "core.doctype.communication.communication.get_user" | |||||
query: "webnotes.core.doctype.communication.communication.get_user" | |||||
} | } | ||||
}; | }; | ||||
@@ -20,11 +20,10 @@ cur_frm.cscript.before_load = function(doc, dt, dn, callback) { | |||||
wn.call({ | wn.call({ | ||||
method: "webnotes.core.doctype.profile.profile.get_languages", | method: "webnotes.core.doctype.profile.profile.get_languages", | ||||
callback: function(r) { | callback: function(r) { | ||||
console.log(r.message); | |||||
wn.languages = r.message; | wn.languages = r.message; | ||||
update_language_select(); | update_language_select(); | ||||
} | } | ||||
}) | |||||
}); | |||||
} else { | } else { | ||||
update_language_select(); | update_language_select(); | ||||
} | } | ||||
@@ -130,7 +130,7 @@ wn.ui.form.AssignTo = Class.extend({ | |||||
}); | }); | ||||
} | } | ||||
} | } | ||||
me.dialog.fields_dict.assign_to.get_query = "core.doctype.profile.profile.profile_query"; | |||||
me.dialog.fields_dict.assign_to.get_query = "webnotes.core.doctype.profile.profile.profile_query"; | |||||
} | } | ||||
me.dialog.clear(); | me.dialog.clear(); | ||||
@@ -301,7 +301,7 @@ wn.views.CommunicationComposer = Class.extend({ | |||||
}; | }; | ||||
return wn.call({ | return wn.call({ | ||||
method:"core.doctype.communication.communication.make", | |||||
method:"webnotes.core.doctype.communication.communication.make", | |||||
args: { | args: { | ||||
sender: [wn.user_info(user).fullname, wn.boot.profile.email], | sender: [wn.user_info(user).fullname, wn.boot.profile.email], | ||||
recipients: form_values.recipients, | recipients: form_values.recipients, | ||||
@@ -25,7 +25,7 @@ $(window).on("hashchange", function() { | |||||
login.do_login = function(){ | login.do_login = function(){ | ||||
var args = {}; | var args = {}; | ||||
if(window.is_sign_up) { | if(window.is_sign_up) { | ||||
args.cmd = "core.doctype.profile.profile.sign_up"; | |||||
args.cmd = "webnotes.core.doctype.profile.profile.sign_up"; | |||||
args.email = ($("#login_id").val() || "").trim(); | args.email = ($("#login_id").val() || "").trim(); | ||||
args.full_name = ($("#full_name").val() || "").trim(); | args.full_name = ($("#full_name").val() || "").trim(); | ||||
@@ -34,7 +34,7 @@ login.do_login = function(){ | |||||
return false; | return false; | ||||
} | } | ||||
} else if(window.is_forgot) { | } else if(window.is_forgot) { | ||||
args.cmd = "core.doctype.profile.profile.reset_password"; | |||||
args.cmd = "webnotes.core.doctype.profile.profile.reset_password"; | |||||
args.user = ($("#login_id").val() || "").trim(); | args.user = ($("#login_id").val() || "").trim(); | ||||
if(!args.user) { | if(!args.user) { | ||||
@@ -56,7 +56,7 @@ $(document).ready(function() { | |||||
wn.call({ | wn.call({ | ||||
type: "POST", | type: "POST", | ||||
method: "core.doctype.profile.profile.update_password", | |||||
method: "webnotes.core.doctype.profile.profile.update_password", | |||||
btn: $("#update"), | btn: $("#update"), | ||||
args: args, | args: args, | ||||
callback: function(r) { | callback: function(r) { | ||||