Merge pull request #22710 from marination/issue-list-action
fix: Move Issue List actions under 'Actions' dropdown (ux)
This commit is contained in:
commit
c2977cf877
@ -8,11 +8,11 @@ frappe.listview_settings['Issue'] = {
|
||||
|
||||
var method = "erpnext.support.doctype.issue.issue.set_multiple_status";
|
||||
|
||||
listview.page.add_menu_item(__("Set as Open"), function() {
|
||||
listview.page.add_action_item(__("Set as Open"), function() {
|
||||
listview.call_for_selected_items(method, {"status": "Open"});
|
||||
});
|
||||
|
||||
listview.page.add_menu_item(__("Set as Closed"), function() {
|
||||
listview.page.add_action_item(__("Set as Closed"), function() {
|
||||
listview.call_for_selected_items(method, {"status": "Closed"});
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user