Commit fd0a54a5 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 c61e367d
...@@ -10,3 +10,4 @@ localizer = context.getPortalObject().Localizer ...@@ -10,3 +10,4 @@ localizer = context.getPortalObject().Localizer
context.setAvailableLanguageSet(localizer.get_supported_languages()) context.setAvailableLanguageSet(localizer.get_supported_languages())
context.setDefaultAvailableLanguage(localizer.get_selected_language()) context.setDefaultAvailableLanguage(localizer.get_selected_language())
context.setStaticLanguageSelection(1) 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