title says all ...
I have 2 SecureActionButton - Button2 is ontop (
[Front]
Button2
-------
Button1
[Back]
) of Button1 ... if a boolean-value matchs he should click button1 and run a script, if the boolean-value doesn't match he should click button2
so i have
Code:
Btn2:SetScript("OnClick",
function(self, button, down)
if BOOL then
--Do something
else
Btn1:Click(1,true)
end
end)
So if i run the addon with this ... i get the following error:
"Addon has been blocked from an action only avaible to the Blizzard UI. You can disable this addon and reload the UI."
Is there anything i do wrong oO?
**Solved in IRC, thanks Iriel
**