]> _ Git - cubeextranet.git/commitdiff
wip #3382 @2
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 30 Jan 2020 16:28:18 +0000 (16:28 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 30 Jan 2020 16:28:18 +0000 (16:28 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index ddca2cbe9eb3f8c7a99e51199f21d1ba37d56ac6..53471c5462f4d84ec34b9e40442a6f5d58511c99 100644 (file)
@@ -483,7 +483,10 @@ class showLinkLink extends normalLink
     public function getAdditionnalContent()
     {
         $res = parent::getAdditionnalContent();
-        $res .= ' data-showmode="' . $this->target . '" data-showid="' . $this->to . '"';
+        if (!$this->video_service) {
+            $this->video_service = 'none';
+        }
+        $res .= ' data-showmode="' . $this->target . '" data-showclose="' . $this->video_service . '" data-showid="' . $this->to . '"';
         return $res;
     }
 }