starting PrrByVaccineTableFactoryTest
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
class BatchCodeSelectInitializer {
|
||||
|
||||
static initialize({batchCodeSelectElement, batchCodeDetailsElement}) {
|
||||
const batchCodeDetailsView = new BatchCodeDetailsView(batchCodeDetailsElement);
|
||||
batchCodeSelectElement.select2({ minimumInputLength: 4 });
|
||||
batchCodeSelectElement.on(
|
||||
'select2:select',
|
||||
function (event) {
|
||||
const batchcode = event.params.data.id;
|
||||
batchCodeDetailsView.displayBatchCodeDetails(batchcode);
|
||||
GoogleAnalytics.click_batchcode(batchcode);
|
||||
});
|
||||
batchCodeSelectElement.select2('open');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user