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

On Thursday, May 10, 2012 11:22:10 AM UTC-4, Luca Loguercio wrote:
>
> Hi, 
>
> We're in the process of upgrading to RedDot 10, but have found that 
> our plugins' previous way of reloading the SmartEdit page no longer 
> works. I've been trying the code on page 134 of 
>
> http://info.csmd.edu/cms/pdf/management_server_10_server_manager_en_US_Letter.pdf
>  
> (the ReloadEditedPage() function) but that doesn't seem to work 
> either. 
>
> Has anyone had any luck getting the SmartEdit page to reload once the 
> plugin is finished doing it's thing? 
>
> Thanks, 
>
> Luca 
>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/reddot-cms-users/-/EM5C6wnhE84J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to