LukeMurphey / splunk-dashboard-tabs-example

An example of the use of tabs on a Splunk dashboard. #splunk
MIT License
21 stars 11 forks source link

Splunk phasing out jqeury < 3.5 causing js to not run #3

Open ktwingstrom opened 3 years ago

ktwingstrom commented 3 years ago

Splunk is no longer supporting jquery older than 3.5 so as a result the require statement where you import jquery is causing the script to crash and the tabs to not work properly. Is there a way to change the script to reference the jquery that splunk ships with or something? Or to bundle it in app/bin/ folder and reference it locally?

https://docs.splunk.com/Documentation/UpgradejQuery/1/UpgradejQuery/jQueryOverview

adamcoolcat commented 1 year ago

Potential fix has been implemented to work with jQuery v3.5 in tabs.js.

It no longer errors out using jQuery v3.5 (Splunk xml version="1.1") upon my initial testing.