diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml index 2eba488055a2dac67ea297f3ef205334d4ad35da..57d5c6cf4cfd81f14f99b642b04c454cd1865f5f 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml @@ -108,7 +108,8 @@ except AttributeError:\n \n # add web sections document belongs too\n if website is None:\n - website = context.getWebSiteValue() \n + website = context.getWebSiteValue() or context.REQUEST.get(\'current_web_site\')\n +\n sections = []\n for websection in website.getWebSectionValueList(context):\n sections.append({\'title\': websection.getCompactTranslatedTitle(),\n diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 4d190201b6e91e864f97dc628f67bd9b74ac08f3..0ebf2af4ffcebf4400ed689ef5edf9f95d530dd3 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -950 \ No newline at end of file +951 \ No newline at end of file