ソースを参照

method names prefix fixes

version-14
Akhilesh Darjee 11年前
コミット
bb43f1a816
6個のファイルの変更7行の追加8行の削除
  1. +1
    -1
      webnotes/core/doctype/communication/communication.js
  2. +1
    -2
      webnotes/core/doctype/profile/profile.js
  3. +1
    -1
      webnotes/public/js/wn/form/assign_to.js
  4. +1
    -1
      webnotes/public/js/wn/views/communication.js
  5. +2
    -2
      webnotes/templates/includes/login.js
  6. +1
    -1
      webnotes/templates/pages/update-password.html

+ 1
- 1
webnotes/core/doctype/communication/communication.js ファイルの表示

@@ -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"
}
};


+ 1
- 2
webnotes/core/doctype/profile/profile.js ファイルの表示

@@ -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();
}


+ 1
- 1
webnotes/public/js/wn/form/assign_to.js ファイルの表示

@@ -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();


+ 1
- 1
webnotes/public/js/wn/views/communication.js ファイルの表示

@@ -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,


+ 2
- 2
webnotes/templates/includes/login.js ファイルの表示

@@ -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) {


+ 1
- 1
webnotes/templates/pages/update-password.html ファイルの表示

@@ -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) {


読み込み中…
キャンセル
保存