This commit is contained in:
Manuel Simon Hirsig
2015-09-09 17:25:02 +02:00
parent 99d184bfaa
commit b5ea595553
2 changed files with 3 additions and 19 deletions
+2 -4
View File
@@ -80,7 +80,7 @@ function AuctionatorBuyBuySelectedButton_OnClick()
processScanResults(data)
Auctionator_Buy_ScrollbarUpdate()
AuctionatorBuySearchButton:Enable()
Auctionator_Buy_ShowReport(false, orderedCount, purchasedCount)
Auctionator_Buy_ShowReport(true, orderedCount, purchasedCount)
end,
onAbort = function()
AuctionatorBuySearchButton:Enable()
@@ -202,14 +202,12 @@ function Auctionator_Buy_ScrollbarUpdate()
AuctionatorBuyReportHTML:SetText("<html><body>"
.."<h1>Auctionator Buy Report</h1><br/>"
.."<h1>Status:"..(completed and "Completed" or "Aborted").."</h1><br/>"
.."<h1>Status: "..(completed and "Completed" or "Aborted").."</h1><br/>"
.."<p>"
..string.format("%i out of the %i ordered auctions have been purchased", purchasedCount, orderedCount)
.."</p>"
.."</body></html>")
AuctionatorBuyReportHTML:SetSpacing(3)
AuctionatorBuyAuthorText:SetText("Author: "..AuctionatorAuthor)
end
end
+1 -15
View File
@@ -236,7 +236,7 @@
</Frame>
<Frame name="AuctionatorBuyReport" frameStrata="FULLSCREEN_DIALOG" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
<Size><AbsDimension x="300" y="300" /></Size>
<Size><AbsDimension x="400" y="180" /></Size>
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-90"/></Offset></Anchor></Anchors>
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
@@ -245,20 +245,7 @@
<EdgeSize><AbsValue val="32"/></EdgeSize>
</Backdrop>
<Layers>
<Layer level="BACKGROUND">
<FontString name="AuctionatorBuyAuthorText" inherits="GameFontDisableSmall" justifyH="LEFT" justifyV="TOP">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset><AbsDimension x="30" y="20"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<SimpleHTML name="AuctionatorBuyReportHTML">
<Size><AbsDimension x="420" y="420" /></Size>
<Anchors>
@@ -277,7 +264,6 @@
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Ui>