The CreatorCon Call for Content is officially open! Get started here.

Project workspace task removal using Delete row dropdown button

PetarK
Tera Expert

The tasks are removed right away without confirmation when I press the "Delete row" option in the dropdown menu. I need to find the code where this is implemented to be able to add pop up window.

PetarK_0-1740587178073.png


So far I found this, but I could not find where this "delete_resource_assignment" is used:

_getResourceGridRowContextMenuItems: function() {
        const contextMenuItems = [{
            label: gs.getMessage('Delete row'),
            name: 'delete_resource_assignment',
            icon: '',
            criteria: '_metadata.canDelete=true'
        }];

        return contextMenuItems;
},
1 ACCEPTED SOLUTION

wpatrickhames
Tera Guru

Version 6.2.0 adds a warning popup when Delete Row is selected now.

View solution in original post

1 REPLY 1

wpatrickhames
Tera Guru

Version 6.2.0 adds a warning popup when Delete Row is selected now.