From 62ffaa557442db4e0282c699b90b54ce0766eba5 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 21 Aug 2017 11:46:28 +0200 Subject: [PATCH] Do not show tooltips in mobile view --- api/js/etemplate/et2_core_baseWidget.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/js/etemplate/et2_core_baseWidget.js b/api/js/etemplate/et2_core_baseWidget.js index 7c6175d700..b384c2967e 100644 --- a/api/js/etemplate/et2_core_baseWidget.js +++ b/api/js/etemplate/et2_core_baseWidget.js @@ -253,6 +253,8 @@ var et2_baseWidget = (function(){ "use strict"; return et2_DOMWidget.extend(et2_ }, set_statustext: function(_value) { + // Tooltip should not be shown in mobile view + if (egwIsMobile()) return; // Don't execute the code below, if no tooltip will be attached/detached if (_value == "" && !this._tooltipElem) {