Sorry, I was a bit unclear there.
I tried the code as I'd written in my OP, the code you suggested (without "local run"), and because I saw it mentioned somewhere, I tried replacing the third line with SendChatMessage("/reload ui").
None of them work.
The ShadowedUF profile change does happen in all cases though, so I know the click handler is active. It's just the UI reload that never happens.
I read in the API reference that ReloadUI() is a protected function. I'd think that shouldn't matter since it's an onclick, but is it possible that kgPanels interferes with it somehow?
|