SEBSERV-352 fixed
This commit is contained in:
parent
c17fe84043
commit
8b6ad74475
2 changed files with 8 additions and 0 deletions
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue