From: vincent@cubedesigners.com Date: Wed, 5 Sep 2018 15:26:41 +0000 (+0000) Subject: fix #2215 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1d878ba09f4f400c5241cfdb1b329ec33f3db609;p=cubeextranet.git fix #2215 @1 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 2a8efc7e5..5974acf99 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -1073,6 +1073,7 @@ class htmlMultimediaLink extends wsHTML5Link } $res = ''; + $s = $this->in_popup ? 1 : $this->getCssScale(); if ($this->_config['html']) { $this->_url = $d['fdir'] . '/' . $this->_config['html']; if ($this->extra) { @@ -1087,10 +1088,9 @@ class htmlMultimediaLink extends wsHTML5Link $ld = ' data-ld="' . str_replace('index.html', $this->_config['lowDef'], $this->_url) . '" '; } - $res = ''; + $res = ''; } if ($this->_externalIframe !== false) { - $s = $this->in_popup ? 1 : $this->getCssScale(); $iw = $this->_config['width'] * $s; $ih = $this->_config['height'] * $s; $res = ''; @@ -1708,6 +1708,10 @@ class iframePopupLink extends normalLink return '#/iframe/' . md5($this->to); } + public function getTrack() + { + return ' data-track="' . $this->to . '"'; + } public function getAdditionnalContent() {