From: Andreas Ă–man Date: Tue, 8 Apr 2008 16:52:09 +0000 (+0000) Subject: Use correct mapped / unmapped image upon initial display X-Git-Tag: 2.12~1151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae468640865ddd4ccef467f8437dd4d5bc237664;p=thirdparty%2Ftvheadend.git Use correct mapped / unmapped image upon initial display --- diff --git a/ajaxui/ajaxui_config_transport.c b/ajaxui/ajaxui_config_transport.c index e6d38ebee..4dba17a6d 100644 --- a/ajaxui/ajaxui_config_transport.c +++ b/ajaxui/ajaxui_config_transport.c @@ -169,8 +169,9 @@ ajax_transport_build_list(tcp_queue_t *tq, struct th_transport_list *tlist) "onClick=\"new " "Ajax.Request('/ajax/transport_op/%s', " "{parameters: {action: 'toggle'}})\">" - "", - t->tht_identifier, t->tht_identifier); + "", + t->tht_identifier, t->tht_identifier, + t->tht_channel ? "" : "un"); tcp_qprintf(tq, "
", t->tht_identifier);