How to close the Overlay?

Marcus

Well-known member
I opened an overlay editor with class="OverlayTrigger". The item is stored, inserted with AJAX on the page. But the Overlay is still there until the user clicks on the cross at the upper right. Does anyone know how to close the Overlay after submitting the data?

The template the overlay is in is also used at the same page as an add-item-editor.
 
This code in the javascript handler hides the overlay
$('.xenOverlay').hide();
... but the screen is still greyed out.
 
Top Bottom