JohnDoh/Roundcube-Plugin-Context-Menu — Issue #12: Purge action issue
Author: alecpl
Created: 2011-10-24 13:11:18+00:00
State: open

The 'purge' action is allowed only on Trash and Junk folders. However when you click on "Empty" position in the menu the action is executed and obviously does nothing. The simplest way to prevent this would be to check if the action is enabled on click time, by checking state of the link or rcmail.commands['purge'].