View Single Post
11-25-10, 05:57 PM   #3
CrazyNetwork
A Murloc Raider
Join Date: Apr 2009
Posts: 2
Did a little bug tracking. It seems that the "Profesions.Frame" var is called in function "plugin.SetEnable" BEFORE it is initialized in function "Profesions_CreateFrame". I modified the "plugin.initPanel" to force initialization and it seems to be working. For me anyway.

Code:
---------------------------------------------------
-- [v1.01.00] initPanel routine
---------------------------------------------------
plugin.initPanel = function( container, options )
	plugin.container = container;
	plugin.options   = options;
	Profesions_CreateFrame(); -- FORCE INIT
	if options and options.enabled then
		plugin.setEnabled( true );
	end
end