Make the (i) (for service details) button work in IPTV grid
This commit is contained in:
parent
cf49e03467
commit
a6bb290f4d
3 changed files with 7 additions and 7 deletions
|
@ -1335,8 +1335,8 @@ extjs_dvbsatconf(http_connection_t *hc, const char *remain, void *opaque)
|
|||
*
|
||||
*/
|
||||
static int
|
||||
extjs_dvbservicedetails(http_connection_t *hc,
|
||||
const char *remain, void *opaque)
|
||||
extjs_servicedetails(http_connection_t *hc,
|
||||
const char *remain, void *opaque)
|
||||
{
|
||||
htsbuf_queue_t *hq = &hc->hc_reply;
|
||||
htsmsg_t *out, *streams, *c;
|
||||
|
@ -1723,9 +1723,6 @@ extjs_start(void)
|
|||
http_path_add("/dvb/satconf",
|
||||
NULL, extjs_dvbsatconf, ACCESS_ADMIN);
|
||||
|
||||
http_path_add("/dvb/servicedetails",
|
||||
NULL, extjs_dvbservicedetails, ACCESS_ADMIN);
|
||||
|
||||
http_path_add("/dvb/feopts",
|
||||
NULL, extjs_dvb_feopts, ACCESS_ADMIN);
|
||||
|
||||
|
@ -1735,4 +1732,7 @@ extjs_start(void)
|
|||
http_path_add("/iptv/services",
|
||||
NULL, extjs_iptvservices, ACCESS_ADMIN);
|
||||
|
||||
http_path_add("/servicedetails",
|
||||
NULL, extjs_servicedetails, ACCESS_ADMIN);
|
||||
|
||||
}
|
||||
|
|
|
@ -300,7 +300,7 @@ tvheadend.dvb_services = function(adapterId) {
|
|||
qtip:'Detailed information about service',
|
||||
cb: function(grid, record, action, row, col) {
|
||||
Ext.Ajax.request({
|
||||
url: "dvb/servicedetails/" + record.id,
|
||||
url: "servicedetails/" + record.id,
|
||||
success:function(response, options) {
|
||||
r = Ext.util.JSON.decode(response.responseText);
|
||||
tvheadend.showTransportDetails(r);
|
||||
|
|
|
@ -21,7 +21,7 @@ tvheadend.iptv = function(adapterId) {
|
|||
qtip:'Detailed information about service',
|
||||
cb: function(grid, record, action, row, col) {
|
||||
Ext.Ajax.request({
|
||||
url: "dvb/servicedetails/" + record.id,
|
||||
url: "servicedetails/" + record.id,
|
||||
success:function(response, options) {
|
||||
r = Ext.util.JSON.decode(response.responseText);
|
||||
tvheadend.showTransportDetails(r);
|
||||
|
|
Loading…
Add table
Reference in a new issue