No longer need to update nm owner filterheader, since we changed it to a plain header

This commit is contained in:
nathangray 2016-09-07 10:03:22 -06:00
parent 84da56ede8
commit 93c76dd878

View File

@ -2915,20 +2915,6 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
widget.set_select_options(widget.options.select_options); widget.set_select_options(widget.options.select_options);
widget.set_value(widget.getValue()); widget.set_value(widget.getValue());
// If updating owner, update listview participants as well
// This lets us _add_ to the options, normal nm behaviour will replace.
if(field == 'owner')
{
try {
var participant = app.classes.calendar.views.listview.etemplates[0].widgetContainer.getWidgetById('nm').getWidgetById('participant');
if(participant)
{
participant.options.select_options = widget.options.select_options;
participant.set_select_options(widget.options.select_options);
}
} catch(e) {debugger;}
}
app.calendar.state_update_in_progress = in_progress; app.calendar.state_update_in_progress = in_progress;
} }
} }