mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix for scrollbar for searchfield in calendar sidebox for safari; provided by Chr.Fueller
This commit is contained in:
parent
cdc0d2fb5e
commit
c3fe8e2ded
@ -648,7 +648,7 @@ class calendar_ui
|
|||||||
$blur = addslashes(html::htmlspecialchars(lang('Search').'...'));
|
$blur = addslashes(html::htmlspecialchars(lang('Search').'...'));
|
||||||
$value = @$_POST['keywords'] ? html::htmlspecialchars($_POST['keywords']) : $blur;
|
$value = @$_POST['keywords'] ? html::htmlspecialchars($_POST['keywords']) : $blur;
|
||||||
$file[++$n] = array(
|
$file[++$n] = array(
|
||||||
'text' => html::form('<input name="keywords" value="'.$value.'" style="width: 100%;"'.
|
'text' => html::form('<input name="keywords" value="'.$value.'" style="width: 97.5%;"'.
|
||||||
' onFocus="if(this.value==\''.$blur.'\') this.value=\'\';"'.
|
' onFocus="if(this.value==\''.$blur.'\') this.value=\'\';"'.
|
||||||
' onBlur="if(this.value==\'\') this.value=\''.$blur.'\';" title="'.lang('Search').'">',
|
' onBlur="if(this.value==\'\') this.value=\''.$blur.'\';" title="'.lang('Search').'">',
|
||||||
'','/index.php',array('menuaction'=>'calendar.calendar_uilist.listview')),
|
'','/index.php',array('menuaction'=>'calendar.calendar_uilist.listview')),
|
||||||
@ -749,6 +749,7 @@ class calendar_ui
|
|||||||
<script type=\"text/javascript\">
|
<script type=\"text/javascript\">
|
||||||
function load_cal(url,id) {
|
function load_cal(url,id) {
|
||||||
var owner='';
|
var owner='';
|
||||||
|
var i = 0;
|
||||||
selectBox = document.getElementById(id);
|
selectBox = document.getElementById(id);
|
||||||
for(i=0; i < selectBox.length; ++i) {
|
for(i=0; i < selectBox.length; ++i) {
|
||||||
if (selectBox.options[i].selected) {
|
if (selectBox.options[i].selected) {
|
||||||
|
Loading…
Reference in New Issue
Block a user