an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Content Editor after upgrading to 3.1
Last Post 4/28/2009 9:48:59 AM By Rober. 2 replies.
4/28/2009 7:54:15 AM
Rober
Posts: 5
Joined: 12/11/2008
Location:Alabama, US
Content Editor after upgrading to 3.1
I recently upgraded to version 3.1
 
When I try to edit the page I get the page preview page to edit. But if i click the "edit" link i just get a javascript error:

showDialog is not defined  - EditBlockControl.aspx?blockId=477');()()
 
I've searched the JS included with the 3.1 download and could not find where that javascript function is definined.
 
what am I overlooking?
4/28/2009 8:30:28 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Content Editor after upgrading to 3.1
JS is emit dynamically from code. If you look at site.master.cs, you will see the code in yellow background doing that.
 
        if (WebUtils.IsPageEditorEnable())
            WebUtils.EmitDropDownPopupJSCode(Page, placeHolder);
DotShoppingCart Staff
4/28/2009 9:48:59 AM
Rober
Posts: 5
Joined: 12/11/2008
Location:Alabama, US
Re: Content Editor after upgrading to 3.1
Thanks, That was it. Evidently I missed the master when merging changes.