From e84a00ce0737727196b42e2e70909bf19b6d3c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sat, 3 May 2008 06:04:55 +0000 Subject: [PATCH] Use buttons instead of -tags --- ajaxui/ajaxui_config_channels.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ajaxui/ajaxui_config_channels.c b/ajaxui/ajaxui_config_channels.c index 0069b3d2..ac874dcf 100644 --- a/ajaxui/ajaxui_config_channels.c +++ b/ajaxui/ajaxui_config_channels.c @@ -444,15 +444,16 @@ ajax_cheditor(http_connection_t *hc, http_reply_t *hr, tcp_qprintf(tq, "
\r\n"); tcp_qprintf(tq, "
"); - ajax_a_jsfuncf(tq, "Rename channel...", - "channel_rename('%d', '%s');", - ch->ch_tag, ch->ch_name); - tcp_qprintf(tq, " / "); + tcp_qprintf(tq, + "", + ch->ch_tag, ch->ch_name); - ajax_a_jsfuncf(tq, "Delete channel...", - "channel_delete('%d', '%s');", - ch->ch_tag, ch->ch_name); + tcp_qprintf(tq, + "", + ch->ch_tag, ch->ch_name); tcp_qprintf(tq, "
");