View Single Post
05-26-10, 08:27 PM   #5
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
Someone please correct me if I'm wrong, and test this at your own risk of course

In nUI_InfoPanel_Grid at lines 70-90 is this code block below. If you change both "VARIABLES_LOADED" events to "ADDON_LOADED" It may work again. Just a thought from seeing Xrystal playing with her Mageports addon and vaguely remembering what had changed, lol

Code:
-- master frame for the plugin

local plugin    = CreateFrame( "Frame", nUI_INFOPANEL_GRID, nUI_Dashboard.Anchor );
plugin.active   = true;

local function onGridEvent()
	
	if event == "VARIABLES_LOADED" then
		
		if not IsAddOnLoaded( "Grid" ) then 
			LoadAddOn( "Grid" );
		end
		
		plugin.active = IsAddOnLoaded( "Grid" );

	end	
	
end

plugin:SetScript( "OnEvent", onGridEvent );
plugin:RegisterEvent( "VARIABLES_LOADED" );

Last edited by Vis : 05-26-10 at 08:42 PM. Reason: hehe, I did forget which function changed