From 65bd394390b69aad29820289bed10e2b3c811c2c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 3 Dec 2020 16:12:46 +0000 Subject: [PATCH] Bug 27124: JS error "select2Width is not defined" This patch changes the way select2.js checks for an existing value of the "select2Width" variable in order to avoid errors when it is undefined. To test, apply the patch and view various pages where the select2 plugin is used: - Basic MARC editor - Items edit - Batch item edit - Authority editor In each case check that the Select2 plugin works correctly to style fields like collection code and home library. On the basic MARC editor page these