Quantcast

I hope this will do the trick.

Darthpred [10-24-12 - 12:55]
I hope this will do the trick.

In update function for the profile change, in initialize for first load
with this profile
Filename
ElvUI_SLE/ElvUI_SLE.lua
diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua
index 077c757..7fa6686 100644
--- a/ElvUI_SLE/ElvUI_SLE.lua
+++ b/ElvUI_SLE/ElvUI_SLE.lua
@@ -53,6 +53,16 @@ function E:UpdateAll()
 	E.db.datatexts.panels.Top_Center = 'Version'
 	E:GetModule('DataTexts'):LoadDataTexts() --Prevents datatexts from not changing on profile switch (Elv's issue)
 	E:GetModule('RaidUtility'):MoveButton()
+
+	if not E:HasMoverBeenMoved("LeftChatMover") and E.db.datatexts.leftChatPanel then
+		E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021"
+		E:SetMoversPositions()
+	end
+
+	if not E:HasMoverBeenMoved("RightChatMover") and E.db.datatexts.rightChatPanelthen then
+		E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021"
+		E:SetMoversPositions()
+	end
 end


@@ -67,6 +77,15 @@ function SLE:Initialize()
 	E:GetModule('Layout'):EditboxPos()
 	SLE:Tutorials()
 	SLE:ConfigCats()
+	if not E:HasMoverBeenMoved("LeftChatMover") and E.db.datatexts.leftChatPanel then
+		E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021"
+		E:SetMoversPositions()
+	end
+
+	if not E:HasMoverBeenMoved("RightChatMover") and E.db.datatexts.rightChatPanelthen then
+		E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021"
+		E:SetMoversPositions()
+	end
 end

 E:RegisterModule(SLE:GetName())
\ No newline at end of file