View Single Post
10-15-10, 09:58 AM   #13
Zimu
A Murloc Raider
Join Date: Apr 2010
Posts: 8
Originally Posted by whereswaldo View Post
A quick fix for this is to edit the module referenced in the error message (Interface\AddOns\nUI\Units\nUI_UnitFrame.lua) and replace "this" with "self"

Before

Code:
				if popup then
						
					local anchor = frame.popup and frame or frame.parent;
					this.unit    = frame.unit;
					this.id      = id;
					this.name,
					this.server  = UnitName( frame.unit );
								
					ToggleDropDownMenu( 1, nil, popup, anchor, anchor:GetWidth()/2, anchor:GetHeight()/2 );
					
				end
After

Code:
				if popup then
						
					local anchor = frame.popup and frame or frame.parent;
					self.unit    = frame.unit;
					self.id      = id;
					self.name,
					self.server  = UnitName( frame.unit );
								
					ToggleDropDownMenu( 1, nil, popup, anchor, anchor:GetWidth()/2, anchor:GetHeight()/2 );
					
				end
Confirmed. Just tried this and right click is back for me. The other LUA I was getting though still happens. It seems to be a Blizzard Inspect window issue, but I don't know enough to really diagnose it.