Bug 1123808 - RecordingsView emits a redundant EVENTS.RECORDING_SELECTED in _onRecordingStarted and _onRecordingImported, r=jsantell

This commit is contained in:
Victor Porof 2015-01-20 15:57:19 -05:00
parent 5021d882df
commit 72a7874d8f

View File

@ -114,8 +114,6 @@ let RecordingsView = Heritage.extend(WidgetMethods, {
if (!recording.getLabel()) {
this.selectedItem = recordingItem;
}
this.emit(EVENTS.RECORDING_SELECTED, recording);
},
/**
@ -163,9 +161,6 @@ let RecordingsView = Heritage.extend(WidgetMethods, {
// Render the recording item with finalized information (timing, etc)
this.finalizeRecording(recordingItem);
// Fire the selection and allow to propogate.
this.emit(EVENTS.RECORDING_SELECTED, model);
},
/**