I have a button, that I want to use as a toggle: add a plugin and remove the same plugin. For this functionality I wrote two actions.
But how can implement this? onclick="switch(action(one),action(two));" dont work.
I think also in 1.0.8 there is no plugin attribute like plugin.isadded or so.
Its no problem with two button, but I think only one button would better tu use.
Thanks in advance