소스 검색

superficial fix for charts site (#3373)

version-14
Prateeksha Singh 8 년 전
committed by Nabin Hait
부모
커밋
21c4030414
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      frappe/public/js/frappe/form/control.js

+ 1
- 1
frappe/public/js/frappe/form/control.js 파일 보기

@@ -319,7 +319,7 @@ frappe.ui.form.ControlInput = frappe.ui.form.Control.extend({

set_disp_area: function() {
let value = this.get_value();
if(inList(["Currency", "Int", "Float"], this.df.fieldtype) && (this.value === 0 || value === 0)) {
if(in_list(["Currency", "Int", "Float"], this.df.fieldtype) && (this.value === 0 || value === 0)) {
// to set the 0 value in readonly for currency, int, float field
value = 0;
} else {


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