This commit is contained in:
Dennis Eichhorn 2018-02-03 13:09:09 +01:00
parent 8246941d98
commit 16580ac0e7
5 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,6 @@ use phpOMS\Module\UpdateAbstract;
use phpOMS\System\File\Directory; use phpOMS\System\File\Directory;
use phpOMS\Module\InfoManager; use phpOMS\Module\InfoManager;
/** /**
* Navigation class. * Navigation class.
* *

View File

@ -134,7 +134,8 @@ class Controller extends ModuleAbstract implements WebInterface
return $nav; return $nav;
} }
public function loadLanguage(RequestAbstract $request, ResponseAbstract $response) { public function loadLanguage(RequestAbstract $request, ResponseAbstract $response)
{
$languages = $this->app->moduleManager->getLanguageFiles($request); $languages = $this->app->moduleManager->getLanguageFiles($request);
foreach ($languages as $path) { foreach ($languages as $path) {

View File

@ -28,7 +28,7 @@
this.visible = true; this.visible = true;
this.openCategories = {}; this.openCategories = {};
} else { } else {
this.scrollPosition = typeof data.scrollPosition === 'undefined' ? {x: 0, y: 0} : data.scrollPosition; this.scrollPosition = typeof data.scrollPosition === 'undefined' ? {x : 0, y : 0} : data.scrollPosition;
this.activeLinks = typeof data.activeLinks === 'undefined' ? {} : data.activeLinks; this.activeLinks = typeof data.activeLinks === 'undefined' ? {} : data.activeLinks;
this.visible = typeof data.visible === 'undefined' ? true : data.visible; this.visible = typeof data.visible === 'undefined' ? true : data.visible;
this.openCategories = typeof data.openCategories === 'undefined' ? {} : data.openCategories; this.openCategories = typeof data.openCategories === 'undefined' ? {} : data.openCategories;