diff --git a/FHEM/72_FB_CALLLIST.pm b/FHEM/72_FB_CALLLIST.pm index f8aa23d6b..698fd18ec 100755 --- a/FHEM/72_FB_CALLLIST.pm +++ b/FHEM/72_FB_CALLLIST.pm @@ -918,58 +918,47 @@ sub FB_CALLLIST_list2html($) $ret .= ""; } - if(AttrVal($name, "disable", "0") ne "3") + + $ret .= ""; + $ret .= '
'; # div tag to support inform updates + $ret .= ''; + + $ret .= FB_CALLLIST_returnOrderedHTMLOutput($hash, FB_CALLLIST_returnTableHeader($hash), 'class="fbcalllist header"'.((AttrVal($name, "no-table-header", "0") eq "1") ? ' style="display:none;"' : ''),''); + + if(AttrVal($name,'disable',"0") eq "2") { - $ret .= ""; } + $ret .= "
"; + $ret .= ""; + $ret .= ""; return $ret;