From a3fc4c38c5df329688836e319c865b8272503d7b Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 22 Feb 2016 09:49:58 +0000 Subject: [PATCH] Mobile theme W.I.P.: -Fix security warning happens when click on nm headers buttons in Safari --- etemplate/inc/class.etemplate_new.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_new.inc.php b/etemplate/inc/class.etemplate_new.inc.php index 384bf62048..d9ecb3cb2d 100644 --- a/etemplate/inc/class.etemplate_new.inc.php +++ b/etemplate/inc/class.etemplate_new.inc.php @@ -232,7 +232,7 @@ class etemplate_new extends etemplate_widget_template // set action attribute for autocomplete form tag // as firefox complains on about:balnk action, thus we have to literaly submit the form to a blank html $form_action = "about:blank"; - if (html::$user_agent == 'firefox') $form_action = $GLOBALS['egw_info']['server']['webserver_url'].'/etemplate/empty.html'; + if (html::$user_agent == 'firefox' || html::$user_agent == 'safari') $form_action = $GLOBALS['egw_info']['server']['webserver_url'].'/etemplate/empty.html'; // check if we are in an ajax-exec call from jdots template (or future other tabbed templates) if (isset($GLOBALS['egw']->framework->response))