Version v0.3.1

Noshei [06-26-13 - 03:15]
Version v0.3.1
Fixed bug that would cause the Subject Field to not be populated when items were dragged and dropped into the attachment area.
Filename
RiftAddon.toc
emSend.lua
diff --git a/RiftAddon.toc b/RiftAddon.toc
index c58d4ac..8da278e 100644
--- a/RiftAddon.toc
+++ b/RiftAddon.toc
@@ -7,7 +7,7 @@ Author = "Noshei"
 Website = "http://www.riftgame.com"
 Email = "Noshei.Rift@gmail.com"

-Version = "v0.3.0"
+Version = "v0.3.1"

 Environment = "2.3"

diff --git a/emSend.lua b/emSend.lua
index 5c3dcc9..546c3ef 100644
--- a/emSend.lua
+++ b/emSend.lua
@@ -189,7 +189,7 @@ function EM.UI.SetupSendTab()
 				sendTab.CostPlat:SetVisible(false)
 				sendTab.CostPlatIcon:SetVisible(false)
 			end
-			if not sendTab.SubjectField:GetText() then
+			if sendTab.SubjectField:GetText() == (nil or "") then
 				sendTab.SubjectField:SetText(EM.UI.Send.Attachments[1][2].value .. " x" .. EM.UI.Send.Attachments[1][3].value)
 				if (sendTab.ToField:GetText() ~= (nil or "")) and (sendTab.SubjectField:GetText() ~= (nil or "")) then
 					sendTab.btnSend:SetEnabled(true)