]> _ Git - cubeextranet.git/commitdiff
Action links for sharing
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 9 Jun 2015 13:09:32 +0000 (13:09 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 9 Jun 2015 13:09:32 +0000 (13:09 +0000)
inc/ws/Util/html5/class.ws.html5.links.php

index 3037ff8932ee0023c3a23656684b64e82b35abce..7ecdfb2e4b44f5d446063780527e2df00adda1ff 100644 (file)
@@ -161,6 +161,9 @@ class wsHTML5Link {
 
        public function getTooltip() {
                if (is_null($this->infobulle) || !$this->infobulle) {
+                       if ($this->getDefaultTooltip() === false) {
+                               return;
+                       }
                        return '~' . $this->getDefaultTooltip();
                }
                return $this->infobulle;
@@ -561,7 +564,7 @@ class actionLink extends internalLink {
        }
 
        public function getDefaultTooltip() {
-               return '';
+               return false;
        }