forked from extern/egroupware
Mobile theme W.I.P.:
-Fix security warning happens when click on nm headers buttons in Safari
This commit is contained in:
parent
7f40ff5b17
commit
a3fc4c38c5
@ -232,7 +232,7 @@ class etemplate_new extends etemplate_widget_template
|
|||||||
// set action attribute for autocomplete form tag
|
// 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
|
// as firefox complains on about:balnk action, thus we have to literaly submit the form to a blank html
|
||||||
$form_action = "about:blank";
|
$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)
|
// check if we are in an ajax-exec call from jdots template (or future other tabbed templates)
|
||||||
if (isset($GLOBALS['egw']->framework->response))
|
if (isset($GLOBALS['egw']->framework->response))
|
||||||
|
Loading…
Reference in New Issue
Block a user