From: vincent@cubedesigners.com Date: Wed, 22 Jan 2020 18:52:03 +0000 (+0000) Subject: wip #3360 @5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=50ebcc5520920a13b3e34be53d5deb5755b48b26;p=cubeextranet.git wip #3360 @5 --- 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)); }