Skip to content

Commit

Permalink
Remove Chosen.js
Browse files Browse the repository at this point in the history
Chosen.js is used in legacy views and templates. This is now removed, not to be confused with Choices.js which is still in use in the SelectWithSearch component.
Javascript files, css files, and unused views related to Chosen have been removed
  • Loading branch information
minhngocd committed Dec 1, 2023
1 parent 0f309b0 commit 86dfee1
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 1,980 deletions.
1 change: 0 additions & 1 deletion app/assets/javascripts/admin_legacy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//= require govuk_publishing_components/lib
//= require jquery-ui
//= require vendor/jquery/chosen.jquery.js
//= require vendor/jquery/jquery.player.min.js
//= require vendor/jquery/jquery-debounce.js
//= require vendor/google-diff-match-patch.js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

window.GOVUK.adminGlobalInitialiser = {
init: function init () {
GOVUK.init(GOVUK.formsHelper)
GOVUK.init(GOVUK.navBarHelper)
GOVUK.init(GOVUK.tabs)
}
Expand Down
19 changes: 0 additions & 19 deletions app/assets/javascripts/admin_legacy/helpers/forms.js

This file was deleted.

50 changes: 0 additions & 50 deletions app/assets/javascripts/admin_legacy/modules/track_select_click.js

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/javascripts/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
//= require jquery-ui
//= require vendor/jquery/jquery.player.min
//= require vendor/google-diff-match-patch.js
//= require vendor/jquery/chosen.jquery.js
//
//= require govuk_toolkit
//
Expand Down
Loading

0 comments on commit 86dfee1

Please sign in to comment.