https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27124

Lucas Gass <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114152|0                           |1
        is obsolete|                            |

--- Comment #2 from Lucas Gass <[email protected]> ---
Created attachment 114163
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114163&action=edit
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 <select>s should have a width that
adjusts as the browser window changes. On other pages the width should
be fixed.

Check the browser console and confirm that there are no
JavaScript errors.

Signed-off-by: Lucas Gass <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to