← Back to team overview

mahara-contributors team mailing list archive

[Bug 1541684] Re: Remove unpatched select2 JS files from git repo

 

** Changed in: mahara
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1541684

Title:
  Remove unpatched select2 JS files from git repo

Status in Mahara:
  Fix Committed

Bug description:
  We've got four select2 Javascript files in Mahara core under
  htdocs/js/select2:

  1. select2.full.js: Select2 plus some compatibility & "recommended includes" modules
  2. select2.full.min.js: Minified version of above
  3. select2.js: Standard version of select2
  4. select2.min.js: Minified version of above.

  We actually only use one of these, select2.full.js. And, we have
  applied several patches to that file! So we really ought to remove the
  other files, to prevent a developer from accidentally writing new code
  that uses one of them, bypassing our patches.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1541684/+subscriptions


References