How do I close an AbstractEditor window from initNewItem() method. I tried the code below but it’s not closing.
this.close(CLOSE_ACTION_ID,true);
How do I close an AbstractEditor window from initNewItem() method. I tried the code below but it’s not closing.
this.close(CLOSE_ACTION_ID,true);
Hi,
As designed, you cannot close a window until it is completelly opened. You can do it from ready
callback if needed.
Thank you it worked in ready callback.