瀏覽代碼

[minor] pass null instead of false if there are no unsaved changes (#3860)

version-14
Makarand Bauskar 8 年之前
committed by Rushabh Mehta
父節點
當前提交
5cf03a4282
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/public/js/frappe/desk.js

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

@@ -494,7 +494,7 @@ frappe.Application = Class.extend({
if(doc.__unsaved) { unsaved_docs.push(doc.name); }
}
}
return unsaved_docs.length ? true : false;
return unsaved_docs.length ? true : null;
};
},



Loading…
取消
儲存