Commit e57f0fae authored by Jérome Perrin's avatar Jérome Perrin

web: also set empty criterion as invalid on Web Site

For same reasons as on Web Sections: clicking the Contents tab search
for all documents
parent f1e7ea55
......@@ -10,3 +10,4 @@ localizer = context.getPortalObject().Localizer
context.setAvailableLanguageSet(localizer.get_supported_languages())
context.setDefaultAvailableLanguage(localizer.get_selected_language())
context.setStaticLanguageSelection(1)
context.setEmptyCriterionValid(False)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment