This calls noConflict on the Bootstrap3 $.fn.button() method, essentially getting rid of it,
as it is not used by CiviCRM, whereas the jQuery UI $.fn.button() is used.
If we needed the boostrap button function, we could rename it with something like:
`$.fn.btn = $.fn.button.noConflict();`
$bundle->addScriptFile('greenwich', 'extern/bootstrap3/assets/javascripts/bootstrap.min.js', [
'translate' => FALSE,
]);
+ $bundle->addScriptFile('greenwich', 'js/noConflict.js', [
+ 'translate' => FALSE,
+ ]);
break;
}
}
--- /dev/null
+// https://civicrm.org/licensing
+(function($) {
+ $.fn.button.noConflict();
+})(jQuery);