These were causing the store to be unecessarily reloaded and as a
result the enabled flag would get cleared in the middle of editing.
htsmsg_t *m = htsmsg_create_map();
char buf[100];
+ htsmsg_add_str(m, "adapterId", tdmi->tdmi_adapter->tda_identifier);
+
htsmsg_add_str(m, "id", tdmi->tdmi_identifier);
htsmsg_add_u32(m, "enabled", tdmi->tdmi_enabled);
htsmsg_add_str(m, "network", tdmi->tdmi_network ?: "");
tvheadend.comet.on('dvbMux', function(m) {
+ if(m.adapterId !== adapterId)
+ return;
+
r = store.getById(m.id)
if (typeof r === 'undefined') {
store.reload();