diff --git a/addon/www/index.html b/addon/www/index.html index 3efc5cc..5e7dfeb 100644 --- a/addon/www/index.html +++ b/addon/www/index.html @@ -321,7 +321,7 @@ along with this program. If not, see . var cls = ''; var style = ''; if (fw.installed) cls = ' class="warning"'; - if (fw.experimental) { cls = ' class="error"'; style = 'visibility: collapse;' } + if (fw.experimental) { cls = ' class="error"'; style = 'display: none!important;' } if (fw.latest) cls = ' class="positive"'; $("#firmware-info tbody").append($('').attr('data-experimental', fw.experimental).append( $('').append($('', {text: fw.version, title: i18next.t('open_release_info'), href: fw.info_url, target: "_blank"})), @@ -354,7 +354,7 @@ along with this program. If not, see . } function show_experimental_firmware(show) { - $('tr[data-experimental="true"]').css('visibility', show ? '' : 'collapse'); + $('tr[data-experimental="true"]').css('cssText', show ? '' : 'display:none !important'); } function get_system_info() { diff --git a/addon/www/rest.cgi b/addon/www/rest.cgi index 1ee5fb2..79fa490 100644 --- a/addon/www/rest.cgi +++ b/addon/www/rest.cgi @@ -78,6 +78,7 @@ proc process {} { global env if { [info exists env(QUERY_STRING)] } { set query $env(QUERY_STRING) + set path "" set sid "" set pairs [split $query "&"] foreach pair $pairs {