View Single Post
10-17-12, 07:58 AM   #5
Animor
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Mar 2011
Posts: 136
I went to BG with just 3 addons: my addon (hebChat), BugSack and Bartender.
During the BG I used my addon and clicked the button several times, including during combat. I got no error.

But then, after the BG was finished, I opened the Glyphs panel and clicked on a glyph (was trying to reproduce an error I was told about), and I indeed got an error. You can see it on the attached picture, it's related to onclick().

I have two OnClick on my addon:
1. UIPanelButtonTemplate - this is the button the thread is about, which I clicked several times during the BG.
2. ChatConfigCheckButtonTemplate - two buttons in the addon config panel, which I didn't even open.

Note: my config panel also uses a UIDropDownMenuTemplate (which has internal click function on info.func), that caused me focus taint issues in the past. But I followed the advice on another thread here and didn't initialize the dropdownlist until the config panel is actually shown.

So, I suspect that the one to blame is the UIPanelButtonTemplate.

Please assist...
Attached Thumbnails
Click image for larger version

Name:	hebchat_lua_err.jpg
Views:	1199
Size:	264.1 KB
ID:	7291  
  Reply With Quote