SEBSERV-352 fixed

This commit is contained in:
anhefti 2022-10-20 10:34:18 +02:00
parent c17fe84043
commit 8b6ad74475
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,10 @@ public class AllowFlashFullscreenRule implements ValueChangeRule {
final ConfigurationAttribute attribute,
final ConfigurationValue value) {
if (context.isReadonly()) {
return;
}
if (BooleanUtils.toBoolean(value.value)) {
context.enable(KEY_FULL_SCREEN);
} else {

View file

@ -40,6 +40,10 @@ public class BrowserWindowToolbarRule implements ValueChangeRule {
final ConfigurationAttribute attribute,
final ConfigurationValue value) {
if (context.isReadonly()) {
return;
}
if (BooleanUtils.toBoolean(value.value)) {
context.enable(KEY_ADDBAR_MAIN);
context.enable(KEY_ADDBAR);