[9.0.07] nav disappear when header is hidden

This commit is contained in:
fredtempez 2019-03-16 15:14:04 +01:00
parent 0a642f06fe
commit 23fd7dcb41
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# ChangeLog # ChangeLog
## Version 9.0.07
- Correction :
- Disparition du menu quand la bannière est masquée
## Version 9.0.06 ## Version 9.0.06
- Correction : - Correction :
- Configuration des modes de codemirror - Configuration des modes de codemirror

View File

@ -323,8 +323,10 @@ class theme extends common {
$position = str_replace ('body','site',$this->getData(['theme','menu','position'])); $position = str_replace ('body','site',$this->getData(['theme','menu','position']));
break; break;
case 'body' : case 'body' :
$position = str_replace ('site','body',$this->getData(['theme','menu','position'])); $position = str_replace ('site','body',$this->getData(['theme','menu','position']));
break; break;
default:
$position = $this->getData(['theme','menu','position']);
} }
$this->setData(['theme', 'menu', [ $this->setData(['theme', 'menu', [
'backgroundColor' => $this->getData(['theme', 'menu', 'backgroundColor']), 'backgroundColor' => $this->getData(['theme', 'menu', 'backgroundColor']),