Hi Luca,
If the code is in the plugin, which is a new popup from SmartEdit, you can use
// Refresh page if it is in SmartEdit
if(
window.opener.name == "Preview")
{
window.opener.location.reload();
}
else if(
window.opener.name == "ioActionMenu")
{
// Refresh page if it is in SmartTree
window.opener.ReloadTreeSegment();
}
If the code is within the page in SmartEdit, this should do
location.reload();
Best,
-Jian