mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-17 02:26:33 +00:00
[translations] fixes #4533
This commit is contained in:
@@ -5,12 +5,12 @@ frappe.ui.form.on("Issue", {
|
||||
|
||||
"refresh": function(frm) {
|
||||
if(frm.doc.status==="Open") {
|
||||
frm.add_custom_button("Close", function() {
|
||||
frm.add_custom_button(__("Close"), function() {
|
||||
frm.set_value("status", "Closed");
|
||||
frm.save();
|
||||
});
|
||||
} else {
|
||||
frm.add_custom_button("Reopen", function() {
|
||||
frm.add_custom_button(__("Reopen"), function() {
|
||||
frm.set_value("status", "Open");
|
||||
frm.save();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user