cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

reloading a docked xui-window in acl

Highlighted
Level 8

reloading a docked xui-window in acl

Hi guys,

we are creating a xui-window with acl on the fly if the user clicks on a button. The content of the xui window is a listbox with listitems.

Now we want to dock the xui-window to the bottom of the Arbortext Editor window. We are doing this with enabledocking="any" and dock="bottom". So far this is the desired behaviour. But if the user clicks again on the button, we get errors from acl with the function window_show() Argument #1 "no valid window-id". Probably the reason for this is that we try to open again a xui-window until the other xui is opened.

Therefore our question: How we can reload the xui-window correctly (e.g. with acl?) Or is there any other better way with javascript to do that?

Thank you in advance for your help.