Comment out mouseover handlers.
Scott Yeskie [11-17-14 - 18:08]
Comment out mouseover handlers.
diff --git a/lib/LibAddonMenu-2.0/LibAddonMenu-2.0.lua b/lib/LibAddonMenu-2.0/LibAddonMenu-2.0.lua
index a58bf03..9fa5c80 100644
--- a/lib/LibAddonMenu-2.0/LibAddonMenu-2.0.lua
+++ b/lib/LibAddonMenu-2.0/LibAddonMenu-2.0.lua
@@ -297,6 +297,10 @@ local function CreateAddonList()
list.controlType = OPTIONS_CUSTOM
list.panel = lam.panelID
+ list.data = {}
+ list.data.controlType = OPTIONS_CUSTOM
+ list.data.panel = lam.panelID
+
ZO_OptionsWindow_InitializeControl(list)
return list
diff --git a/ui/ai_enabled_fragment.lua b/ui/ai_enabled_fragment.lua
index b28d223..96afbc8 100644
--- a/ui/ai_enabled_fragment.lua
+++ b/ui/ai_enabled_fragment.lua
@@ -38,6 +38,7 @@ function AutoInviteUI:CreateEnabledFragment()
ui.enabled:SetDimensions(250, 26)
ui.enabled:SetAnchor(TOP, ZO_GroupList, TOP, 0, 20)
+ --TODO: Sanity check between enable and blank string
ui.text = LAMCreateControl.editbox(ui, {
type = "editbox",
name = "Invite String",
diff --git a/ui/ai_options_fragment.lua b/ui/ai_options_fragment.lua
index 45cd503..a1bcb83 100644
--- a/ui/ai_options_fragment.lua
+++ b/ui/ai_options_fragment.lua
@@ -30,8 +30,8 @@ function AutoInviteUI:CreateOptionFragment()
ui.refreshList:SetAnchor(TOPRIGHT, ui.main, TOPRIGHT, -365, 5)
ui.refreshList:SetWidth(160)
ui.refreshList:SetText("Refresh List")
- ui.refreshList:SetHandler("OnMouseEnter", ZO_Options_OnMouseEnter)
- ui.refreshList:SetHandler("OnMouseExit", ZO_Options_OnMouseExit)
+-- ui.refreshList:SetHandler("OnMouseEnter", ZO_Options_OnMouseEnter)
+-- ui.refreshList:SetHandler("OnMouseExit", ZO_Options_OnMouseExit)
ui.refreshList:SetHandler("OnClicked", function() MINI_GROUP_LIST:RefreshData() end)
ui.max = LAMCreateControl.slider(ui, {
@@ -94,8 +94,8 @@ function AutoInviteUI:CreateOptionFragment()
ui.regroup:SetAnchor(TOPLEFT, ui.kickTime, BOTTOMLEFT, 70, 70)
ui.regroup:SetWidth(160)
ui.regroup:SetText("Re-form Group")
- ui.regroup:SetHandler("OnMouseEnter", ZO_Options_OnMouseEnter)
- ui.regroup:SetHandler("OnMouseExit", ZO_Options_OnMouseExit)
+-- ui.regroup:SetHandler("OnMouseEnter", ZO_Options_OnMouseEnter)
+-- ui.regroup:SetHandler("OnMouseExit", ZO_Options_OnMouseExit)
ui.regroup:SetHandler("OnClicked", function() AutoInvite:resetGroup() end)
-- ui.queueTrigger = wm:CreateControlFromVirtual(nil, ui.main, "ZO_DefaultButton")