I have a mashup with a button that uses a hidden navigation widget to open a modal child window that is just a confirmation message. When the child window is closed I would like for the parent to also close so the user does not click the button again. Looking for the cleanest way to handle this. Any help would be appreciated
Thanks for the response! I bound the Expression 'Evaluate' event service to the Navigation widget's PopupClosed event with an Expression of "close()" however that did not close the parent. "window" appears to be a reserved word that gives an error so window.close() doesn't seem to be usable. Any thoughts?
Stumbled upon this, thankfully. I had been trying to figure out how to initiate the print dialog (ctrl+p) from an expression widget.
I just tested close() and print() in an expression widget triggered by a button and they seem to work.
close(); function working when the current tab is triggered from a parent.
If I copy the URL and put into a new window, not working.
Do you have the solution for the same?
Please follow the below URL,