method names prefix fixes
This commit is contained in:
parent
44916d7f23
commit
bb43f1a816
6 changed files with 7 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
cur_frm.cscript.onload = function(doc) {
|
||||
cur_frm.fields_dict.user.get_query = function() {
|
||||
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({
|
||||
method: "webnotes.core.doctype.profile.profile.get_languages",
|
||||
callback: function(r) {
|
||||
console.log(r.message);
|
||||
wn.languages = r.message;
|
||||
update_language_select();
|
||||
}
|
||||
})
|
||||
});
|
||||
} else {
|
||||
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();
|
||||
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@ wn.views.CommunicationComposer = Class.extend({
|
|||
};
|
||||
|
||||
return wn.call({
|
||||
method:"core.doctype.communication.communication.make",
|
||||
method:"webnotes.core.doctype.communication.communication.make",
|
||||
args: {
|
||||
sender: [wn.user_info(user).fullname, wn.boot.profile.email],
|
||||
recipients: form_values.recipients,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ $(window).on("hashchange", function() {
|
|||
login.do_login = function(){
|
||||
var args = {};
|
||||
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.full_name = ($("#full_name").val() || "").trim();
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ login.do_login = function(){
|
|||
return false;
|
||||
}
|
||||
} 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();
|
||||
|
||||
if(!args.user) {
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ $(document).ready(function() {
|
|||
|
||||
wn.call({
|
||||
type: "POST",
|
||||
method: "core.doctype.profile.profile.update_password",
|
||||
method: "webnotes.core.doctype.profile.profile.update_password",
|
||||
btn: $("#update"),
|
||||
args: args,
|
||||
callback: function(r) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue