Hello,
I am calling a custom javascript function on click of Insert button of InsertDocument window. The function simply pastes the URL of the selected document in the cute editor area present in the parent window.
It all works fine (I can see the URL pasted correctly) till I close the InsertDocument window either through code or manually after which the pasted URL is automaically deleted.
It does not seem like page has refreshed in anyway, still the URL is gone.
Can you please tell me what the issue is and how to resolve it?
Thanks,
Piyush