Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI JS: updated status tab to the dynamic behaviour
  • Loading branch information
perexg committed Sep 8, 2014
1 parent 45667fa commit 44bbfd4
Show file tree
Hide file tree
Showing 2 changed files with 472 additions and 382 deletions.
14 changes: 6 additions & 8 deletions src/webui/static/app/servicemapper.js
Expand Up @@ -4,10 +4,8 @@

tvheadend.service_mapper_status_panel = null;

tvheadend.service_mapper_status = function()
tvheadend.service_mapper_status = function(panel, index)
{
var panel;

/* Fields */
var ok = new Ext.form.Label({
fieldLabel: 'Mapped',
Expand All @@ -31,7 +29,7 @@ tvheadend.service_mapper_status = function()
});

/* Panel */
panel = new Ext.FormPanel({
var mpanel = new Ext.FormPanel({
method: 'get',
title: 'Service Mapper',
frame: true,
Expand Down Expand Up @@ -72,9 +70,9 @@ tvheadend.service_mapper_status = function()
}
});

tvheadend.service_mapper_status_panel = panel;
return panel;
};
tvheadend.service_mapper_status_panel = mpanel;
tvheadend.paneladd(panel, mpanel, index);
}

/*
* Start mapping
Expand Down Expand Up @@ -182,4 +180,4 @@ tvheadend.service_mapper = function(t, e, store, select)
});

win.show();
};
}

0 comments on commit 44bbfd4

Please sign in to comment.