View Single Post
02-05-09, 03:17 PM   #1
Felankor
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 26
Question Portrait dropdown help

Hi,

Something changed in 3.0.8 which is causing an error in my addon. I can't fix it because I can't find what has changed.

I'm getting the following error:
Code:
attempt to index local 'dropdownFrame' (a nil value)
Heres the code:
Code:
local dropdownFrame = getglobal(UIDROPDOWNMENU_INIT_MENU);
local name = dropdownFrame.name; --<<<<<< This is the line with the error
local button = this.value;
Can anyone tell me how to fix it, or atleast what's changed to cause this error so I can try to work out how to fix it myself.

Thanks in advance

Felankor
  Reply With Quote