]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Use buttons instead of <a> -tags
authorAndreas Öman <andreas@lonelycoder.com>
Sat, 3 May 2008 06:04:55 +0000 (06:04 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sat, 3 May 2008 06:04:55 +0000 (06:04 +0000)
ajaxui/ajaxui_config_channels.c

index 0069b3d2317c6828d36200c6c4b5083638c834ac..ac874dcfff2cdc6998f1463cdf9c09dc86a54a2a 100644 (file)
@@ -444,15 +444,16 @@ ajax_cheditor(http_connection_t *hc, http_reply_t *hr,
   tcp_qprintf(tq, "<hr>\r\n");
 
   tcp_qprintf(tq, "<div style=\"overflow: auto; width:100%%\">");
-  ajax_a_jsfuncf(tq, "Rename channel...",
-                "channel_rename('%d', '%s');",
-                ch->ch_tag, ch->ch_name);
 
-  tcp_qprintf(tq, " / ");
+  tcp_qprintf(tq, 
+             "<input type=\"button\" value=\"Rename...\" "
+             "onClick=\"channel_rename('%d', '%s')\">",
+             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, 
+             "<input type=\"button\" value=\"Delete...\" "
+             "onClick=\"channel_delete('%d', '%s')\">",
+             ch->ch_tag, ch->ch_name);
 
   tcp_qprintf(tq, "</div>");