We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22797
    • 134 Posts
    It appears that the right-click menu in the document tree bypasses the system events. For example, there is an event for OnDocFormDelete which accurately recognizes when a document is marked as deleted -- as long as you have the document open in the editing view and click on the "delete" button at the top -- but the same event does not seem to be invoked when you delete a document by right clicking on the document name in the tree view. Is there an equivalent system event for the right click menu? The publish/unpublish event from the right-click menu seems to be disconnected from the publish/unpublish system events too.

    Any suggestions?
      • 22797
      • 134 Posts
      Hello? Are there no ideas on this one?

      If I need a script to take into account the right-click menu in the tree view, how do I do it?
        • 22303 MODX Staff
        • 10,725 Posts
        Sounds like you’ve identified a bug paulb. Feel free to report it in the bug tracker and provide a patch if have one and we’ll assign someone to review the problem and commit the fix.