diff --git a/docs/HistogramView.js b/docs/BatchCodeDetailsView.js similarity index 98% rename from docs/HistogramView.js rename to docs/BatchCodeDetailsView.js index 29f45bfd610..82ad95bad7b 100644 --- a/docs/HistogramView.js +++ b/docs/BatchCodeDetailsView.js @@ -1,5 +1,4 @@ -// FK-TODO: rename to BatchCodeDetailsView -class HistogramView { +class BatchCodeDetailsView { #uiContainer; @@ -8,7 +7,7 @@ class HistogramView { } // FK-TODO: unbind all events here and in HistogramChartView - displayHistogramView(batchcode) { + displayBatchCodeDetails(batchcode) { this .#loadHistoDescrs(batchcode) .then(histoDescrs => this.#displayHistogramViewForHistoDescrs(histoDescrs)); diff --git a/docs/BatchCodeSelectInitializer.js b/docs/BatchCodeSelectInitializer.js index 834ecb017b5..8c7c98ef8d7 100644 --- a/docs/BatchCodeSelectInitializer.js +++ b/docs/BatchCodeSelectInitializer.js @@ -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'); diff --git a/docs/batchCodeTable.html b/docs/batchCodeTable.html index 2700efe2afa..1178e116b82 100644 --- a/docs/batchCodeTable.html +++ b/docs/batchCodeTable.html @@ -36,7 +36,7 @@ - +