- Fixed an issue with the statistics sharing among guild members.
- Fixed an issue with Argus encounter where two segments were created. - Fixed aura type images on the Create Aura Panel. - Create Aura Panel can now be closed with Right Click. - Framework updated to r60, plugins should be more stable now.
This commit is contained in:
@@ -483,7 +483,13 @@ function DetailsFrameworkDropDownOptionClick (button)
|
||||
|
||||
--> exec function if any
|
||||
if (button.table.onclick) then
|
||||
button.table.onclick (button:GetParent():GetParent():GetParent().MyObject, button.object.FixedValue, button.table.value)
|
||||
|
||||
local success, errorText = pcall (button.table.onclick, button:GetParent():GetParent():GetParent().MyObject, button.object.FixedValue, button.table.value)
|
||||
if (not success) then
|
||||
error ("Details! Framework: dropdown " .. button:GetParent():GetParent():GetParent().MyObject:GetName() .. " error: " .. errorText)
|
||||
end
|
||||
|
||||
--button.table.onclick (button:GetParent():GetParent():GetParent().MyObject, button.object.FixedValue, button.table.value)
|
||||
end
|
||||
|
||||
--> set the value of selected option in main object
|
||||
|
||||
Reference in New Issue
Block a user