Skip to content

Commit

Permalink
Merge pull request #12 from CrossRealms/dashboard-improvements
Browse files Browse the repository at this point in the history
Added js to handle multiselect All option behaviour
  • Loading branch information
hardikhdholariya authored Mar 29, 2024
2 parents 4605696 + 19e6af3 commit cde20e8
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
to_make_permission_changes: true
splunkbase_username: ${{ secrets.SPLUNKBASE_USERNAME }}
splunkbase_password: ${{ secrets.SPLUNKBASE_PASSWORD }}
app_utilities: "whats_in_the_app"
app_utilities: "whats_in_the_app, common_js_utilities"
my_github_token: ${{ secrets.MY_GITHUB_TOKEN }}
9 changes: 9 additions & 0 deletions appserver/static/dashboard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require([
'../app/splunk_app_3cx/splunk_common_js_v_utilities',
'splunkjs/mvc/simplexml/ready!'
], function (SplunkCommonUtilities) {

// Handles the multi-select option properly
SplunkCommonUtilities.vSetupMultiSelectHandlerOnAll();
// When user selects any item, it will automatically unselect "All" option. And when user selects "All" option then it will automatically unselect all other.
});
Loading

0 comments on commit cde20e8

Please sign in to comment.