Quantcast Trouble opening the calender - WoWInterface
Thread Tools Display Modes
03-17-18, 01:51 AM   #1
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 569
Trouble opening the calender

Recently reinspired to work on my addons again sadly I haven't done much of anything with programming of any kind the last two years, but as far as I know this little code snippet should still work....

but instead it fires off this error
Code:
3x attempt to call a nil value
[C]: in function `securecall'
Click Menu\core.lua:176: in function `func'
FrameXML\UIDropDownMenu.lua:791: in function `UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals:
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
So I fire up my handy dandy link to the UI source code (thanks for maintaining that tekkub, at least I think it's up to date....), and maybe I forgot what I'm doing here, but it all looks no different to me >.>
So I double check out lovely calender eform some ctrl+f magic looking for "Calendar_Toggle" and it seems like I'm doing everything right.
Maybe I just forgot how to be smart?
__________________
Tweets Website
  Reply With Quote
03-17-18, 07:36 AM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,642
Originally Posted by 10leej View Post
...at least I think it's up to date....
It's not. Use this:
https://www.townlong-yak.com/framexml/live
  Reply With Quote
03-17-18, 06:15 PM   #3
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 569
Originally Posted by p3lim View Post
Well thats what I get for relying on old links and only referencing github projects. Thanks got it working now!
__________________
Tweets Website
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Trouble opening the calender

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