code cosmetics

This commit is contained in:
Ian 2014-07-01 16:49:06 +01:00
parent e2bbe6b288
commit 375dab7e38

View file

@ -714,7 +714,7 @@ tvheadend.autoreceditor = function() {
record.set('maxduration', tvheadend.DurationStore.getById(index).data.maxvalue);
}
}
if (record.isModified('channel') && record.data.channel == -1)
record.set('channel',"");