self:RegisterForDrag("LeftButton");
if (self.tooltip) then GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.tooltip); GameTooltip:AddLine(self.tooltipSubtext, "", 1.0, 1.0, 1.0); GameTooltip:Show(); end
GameTooltip:Hide();
if ( ClickStablePet(self:GetID()) ) then PetStable_Update(); end
PickupStablePet(self:GetID());
if ( ClickStablePet(self:GetID()) ) then PetStable_Update(); end
Model_OnLoad(self); self:RegisterEvent("DISPLAY_SIZE_CHANGED");
self:RefreshUnit();
self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
Model_RotateLeft(PetStableModel);
self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
Model_RotateRight(PetStableModel);
GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.tooltip);
StaticPopup_Show("CONFIRM_BUY_STABLE_SLOT");
SmallMoneyFrame_OnLoad(self); MoneyFrame_SetType(self, "STATIC");
PlaySound("igCharacterInfoOpen");
ClosePetStables(); PlaySound("igCharacterInfoClose");