app/assets/javascripts/wco/application.js in wco_models-3.1.0.56 vs app/assets/javascripts/wco/application.js in wco_models-3.1.0.57
- old
+ new
@@ -1,25 +1,26 @@
//
-//= require rails-ujs
//
// // this was loaded twice causing issues - disabled for now.
-// require vendor/test
// require vendor/jquery-3.3.1.min
// require vendor/popper-1.14.0.min
// require vendor/bootstrap-4.6.2.min
// require vendor/fontawesome-5.15.4.min
//
+//= require rails-ujs
//= require vendor/jquery.iframe-transport
//= require vendor/jquery.ui.widget
//= require vendor/jquery.fileupload
//= require vendor/jquery-ui.min
//
+// require select2
+//
//= require ./collapse-expand
//= require ./file_upload
//= require ./shared
//
-console.log('Loaded wco/application.js')
+console.log('Loading wco/application.js')
$(function() {
if (!!$('body').select2) {
$('.select2').each(function() {
@@ -43,6 +44,7 @@
const parser = new URL(window.location);
parser.searchParams.set('from_type', ev.target.value);
window.location = parser.href;
})
+console.log('Loaded wco/application.js')
}); // END