From 75731b2c3fdd97687f575cb6d826b426e09abbeb Mon Sep 17 00:00:00 2001 From: Repooc Date: Wed, 29 Oct 2014 18:05:07 -0400 Subject: [PATCH] Untested Comm updates via KF Signed-off-by: Repooc --- ElvUI_SLE/modules/characterframe/communication.lua | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ElvUI_SLE/modules/characterframe/communication.lua b/ElvUI_SLE/modules/characterframe/communication.lua index f1fc2a2..2b22e92 100644 --- a/ElvUI_SLE/modules/characterframe/communication.lua +++ b/ElvUI_SLE/modules/characterframe/communication.lua @@ -2,14 +2,9 @@ --<< AISM : Armory Surpport Module for AddOn Communication Inspecting >>-- -------------------------------------------------------------------------------- local Revision = 1.1 -local AISM = _G['Armory_InspectSupportModule'] +local AISM = _G['Armory_InspectSupportModule'] or CreateFrame('Frame', 'Armory_InspectSupportModule', UIParent) -if not AISM then - AISM = CreateFrame('Frame', 'Armory_InspectSupportModule', UIParent) - AISM.Revision = Revision -end - -if not AISM.Revision or AISM.Revision <= Revision then +if not AISM.Revision or AISM.Revision < Revision then local ItemSetBonusKey = ITEM_SET_BONUS:gsub('%%s', '(.+)') local ProfessionLearnKey = ERR_LEARN_ABILITY_S:gsub('%%s', '(.+)') local ProfessionLearnKey2 = ERR_LEARN_RECIPE_S:gsub('%%s', '(.+)') @@ -27,6 +22,8 @@ if not AISM.Revision or AISM.Revision <= Revision then --<< Create Core >>-- + AISM.Revision = Revision + AISM.Tooltip = _G['AISM_Tooltip'] or AISM.Tooltip or CreateFrame('GameTooltip', 'AISM_Tooltip', nil, 'GameTooltipTemplate') AISM.Tooltip:SetOwner(UIParent, 'ANCHOR_NONE') AISM.Updater = _G['AISM_Updater'] or AISM.Updater or CreateFrame('Frame', 'AISM_Updater', UIParent) -- 1.7.9.5