Customiztion of the Button 'Task' in DocType "ToDo"

Now click at this button opens DocType Task in this window. And there is no option to Open it in a new window with the help of right button of the mouse.

It’s not very comfortable.
So I’d like: when click on this button - to open Task in a new window.
If it is possible to customize it without code. Using Server Script or Doc Type Settings.

Hi @moistcity999:

Create a client script, for ToDo doctype.

frappe.ui.form.on('ToDo', {
	refresh(frm) {
		frappe.open_in_new_tab = true;

Hope this helps.

1 Like

Thank you again. It’s what I need, but now all buttons on page open in new window.

Can it be only one “Task button”?