소스 검색

[Fix] Make new button(+) not working for chinese language (#4581)

version-14
rohitwaghchaure 7 년 전
committed by Nabin Hait
부모
커밋
32f35d278f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      frappe/public/js/legacy/clientscriptAPI.js

+ 1
- 1
frappe/public/js/legacy/clientscriptAPI.js 파일 보기

@@ -482,7 +482,7 @@ _f.Frm.prototype.make_new = function(doctype) {
if(this.make_methods && this.make_methods[doctype]) {
return this.make_methods[doctype](this);
} else if(this.custom_make_buttons && this.custom_make_buttons[doctype]) {
this.custom_buttons[this.custom_make_buttons[doctype]].trigger('click');
this.custom_buttons[__(this.custom_make_buttons[doctype])].trigger('click');
} else {
frappe.model.with_doctype(doctype, function() {
var new_doc = frappe.model.get_new_doc(doctype);


불러오는 중...
취소
저장