fix for scrollbar for searchfield in calendar sidebox for safari; provided by Chr.Fueller

This commit is contained in:
Ralf Becker 2010-11-16 13:44:27 +00:00
parent 6d6eb55070
commit cc3095647e

View File

@ -635,7 +635,7 @@ class calendar_ui
$blur = addslashes(html::htmlspecialchars(lang('Search').'...'));
$value = @$_POST['keywords'] ? html::htmlspecialchars($_POST['keywords']) : $blur;
$file[++$n] = array(
'text' => html::form('<input name="keywords" value="'.$value.'" style="width: 185px;"'.
'text' => html::form('<input name="keywords" value="'.$value.'" style="width: 97.5%;"'.
' onFocus="if(this.value==\''.$blur.'\') this.value=\'\';"'.
' onBlur="if(this.value==\'\') this.value=\''.$blur.'\';" title="'.lang('Search').'">',
'','/index.php',array('menuaction'=>'calendar.calendar_uilist.listview')),
@ -729,6 +729,7 @@ class calendar_ui
<script type=\"text/javascript\">
function load_cal(url,id) {
var owner='';
var i = 0;
selectBox = document.getElementById(id);
for(i=0; i < selectBox.length; ++i) {
if (selectBox.options[i].selected) {