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();
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(self.tooltip);
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "STATIC");
PlaySound("igCharacterInfoOpen");
ClosePetStables();
PlaySound("igCharacterInfoClose");