SecureHandlerUnwrapScript
I have a frame and I do a few different
SecureHandlerWrapScript(self, "OnClick", ... ) based on a user's config choices. When a user changes their config, I may need to remove one of those WrappedScripts and replace it with some SetAttribute() behaviors. QUESTIONS: (1) does Bliz provide a way to reference a specific WrappedScript, and (2) if not how would you remove the script if you needed to? Right now, I cry, and loopingly SecureHandlerUnwrapScript(self, "OnClick") until I find the one, then restore the others I had needlessly stripped while groping the Frame in a blind, hamfisted search. Am I overlooking something? |
All times are GMT -6. The time now is 01:35 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI