refactoring

This commit is contained in:
frankknoll
2023-04-14 11:51:40 +02:00
parent 963f60dc5a
commit 5927575ec8
3 changed files with 4 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ class BatchCodeSelectInitializer {
'select2:select',
function (event) {
const batchcode = event.params.data.id;
new HistogramView(batchCodeDetailsElement).displayHistogramView(batchcode);
new BatchCodeDetailsView(batchCodeDetailsElement).displayBatchCodeDetails(batchcode);
GoogleAnalytics.click_batchcode(batchcode);
});
batchCodeSelectElement.select2('open');