From 50ebcc5520920a13b3e34be53d5deb5755b48b26 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 22 Jan 2020 18:52:03 +0000 Subject: [PATCH] wip #3360 @5 --- inc/ws/Controlleur/class.ws.flash.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/ws/Controlleur/class.ws.flash.php b/inc/ws/Controlleur/class.ws.flash.php index 91be6f2c4..56f7e537b 100644 --- a/inc/ws/Controlleur/class.ws.flash.php +++ b/inc/ws/Controlleur/class.ws.flash.php @@ -633,6 +633,7 @@ class wsFlash extends cubeFlashGateway $this->jsonDatas['numerotation'] = $book->numerotation; $this->jsonDatas['width'] = $maxWidth; $this->jsonDatas['height'] = $maxHeight; + $this->jsonDatas['mobileFirst'] = $book->parametres->mobileNavigationType === 'mobilefirst'; $this->jsonDatas['links'] = $links; $this->jsonDatas['rulers'] = $rulers; } else { @@ -642,6 +643,7 @@ class wsFlash extends cubeFlashGateway $this->xml->addChild('height', $maxHeight); $this->xml->addChild('pages', $nb_pages); $this->xml->addChild('numerotation', $book->numerotation); + $this->xml->addChild('mobileFirst', $book->parametres->mobileNavigationType === 'mobilefirst'); $this->xml->addChild('links', $l); $this->xml->addChild('rulers', json_encode($rulers)); } -- 2.39.5