Quote:
Originally Posted by Stowen
After it is created the first time, and you didnt properly destroy() the window, it will not reload.
Just add this on clientside:
PHP Code:
function onCreated() {
GUI_Window_Name.destroy();
}
|
That wasn't his problem. He wouldn't see anything about addControl in RC unless the code was being executed serverside.
Also you shouldn't destroy the window in onCreated, especially without checking if it even exists. Just set
visible = true explicitly when you create a new control if you're worried it may have been closed earlier (or just check if it exists and show it if so, depends on the situation, but you should never just blindly destroy it).