mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
fix: Close and Reopen buttons dissapear after saving changes (#46048)
* fix: Close and Reopen buttons dissapear after saving changes
* style: linter issue
---------
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
(cherry picked from commit 506dd3c6b9)
Co-authored-by: Ben Kebdani <benkebdani@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,9 @@ frappe.ui.form.on("Issue", {
|
||||
}
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
refresh: function (frm) {
|
||||
// buttons
|
||||
if (frm.doc.status !== "Closed") {
|
||||
frm.add_custom_button(__("Close"), function () {
|
||||
|
||||
Reference in New Issue
Block a user