Quantcast

Enabled HandleModifiedItemClick for skills and reagents in the skill list.

pschifferer [01-23-09 - 05:48]
Enabled HandleModifiedItemClick for skills and reagents in the skill list.
Filename
CauldronMain.xml
diff --git a/CauldronMain.xml b/CauldronMain.xml
index de4ef23..d1bb075 100644
--- a/CauldronMain.xml
+++ b/CauldronMain.xml
@@ -39,7 +39,7 @@
 				CursorOnUpdate(self);
 			</OnUpdate>
 			<OnClick>
-				HandleModifiedItemClick(GetTradeSkillReagentItemLink(TradeSkillFrame.selectedSkill, self:GetID()));
+				HandleModifiedItemClick(GetTradeSkillReagentItemLink(self.skillIndex, self.reagentIndex));
 			</OnClick>
 		</Scripts>
 	</Button>
@@ -107,7 +107,7 @@
 						-- self.hasItem = 1;
 					</OnLoad>
 					<OnClick>
-						-- HandleModifiedItemClick(GetTradeSkillItemLink(self.skillIndex));
+						HandleModifiedItemClick(GetTradeSkillItemLink(self.skillIndex));
 						Cauldron:SkillItem_OnClick(self, button, down);
 					</OnClick>
 					<OnEnter>