]> _ Git - cubeextranet.git/commitdiff
wait #4400 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 13 Apr 2021 10:30:29 +0000 (10:30 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 13 Apr 2021 10:30:29 +0000 (10:30 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index b042cd6083601b432835895c414344f9462aa97d..c4754371f341efa2edf624fe5397a362df1782d4 100644 (file)
@@ -2688,6 +2688,8 @@ class slideshowLink extends normalLink
 class iframeLink extends wsHTML5Link
 {
     protected $_defaultTooltip;
+    protected $scale = 'auto';
+    protected $scrolling = 'auto';
 
     function getHTMLContainerClass()
     {
@@ -2696,7 +2698,7 @@ class iframeLink extends wsHTML5Link
 
     function getHTMLContent()
     {
-        return '<iframe src="' . self::_handleFile($this) . '" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>';
+        return '<iframe src="' . self::_handleFile($this) . '" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0" data-scale="' . $this->scale . '" scrolling="' . $this->scrolling . '" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>';
     }
 
     /**