浏览代码

fix: show submit button always if allow_incomplete is enabled

(cherry picked from commit b3b773dcae)
version-14
Shariq Ansari 2 年前
committed by Mergify
父节点
当前提交
17472bc8fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/public/js/frappe/web_form/web_form.js

+ 1
- 1
frappe/public/js/frappe/web_form/web_form.js 查看文件

@@ -294,7 +294,7 @@ export default class WebForm extends frappe.ui.FieldGroup {

show_next_and_hide_save_button() {
$(".btn-next").show();
$(".submit-btn").hide();
!this.allow_incomplete && $(".submit-btn").hide();
}

toggle_previous_button() {


正在加载...
取消
保存