Quantcast Action Forbidden - WoWInterface
Thread Tools Display Modes
08-13-18, 04:10 PM   #1
scrable
A Murloc Raider
 
scrable's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2011
Posts: 8
Action Forbidden

I'm trying to solve an issue I have had once the function ReportPlayerIsPVPAFK() was changed to protected some time around 5.0.1. I've been lazy and ignored the issue until now, but I'd like to fix it. I continue to get taints from the target dropdown menu for reporting a player away in a battleground. The only handling I do for menus is
Code:
	self.menu = menu
	self:SetScript("OnEnter", UnitFrame_OnEnter)
	self:SetScript("OnLeave", UnitFrame_OnLeave)
	self:RegisterForClicks"AnyUp"
inside shared for all units. The information provided by the taint log only directs me to the FrameXML\UIDropDownMenu which I don't know how to deal with. I'm not really sure what other informations I need to provide for debugging this other than this. I don't know how to hook into Blizzard call for this function. Thank you!
  Reply With Quote
08-13-18, 07:20 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,668
Remove that first line. oUF does secure menus for you.
  Reply With Quote
08-13-18, 10:04 PM   #3
scrable
A Murloc Raider
 
scrable's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2011
Posts: 8
Thanks, it appears to have worked. I forgot there was also some leftover code I overlooked that removed set focus and clear focus from the menus. Removed that also and it works now. Thanks for your help.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Action Forbidden

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off