Hi,
When we try to drop any node and the visibility of the Delete/Drop context
Menu of that node is having dependency on some function then, after
deleting that node object, it gives a JS error.
Please find the attached patch to fix this issue.
Thanks,
Khushboo