Skip to content

Commit

Permalink
Fixes #37672 - Refactor deprecated jquery functions
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga authored and nofaralfasi committed Aug 1, 2024
1 parent 27c2558 commit d0d226b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<script type="text/javascript">
$(document).ready(function () {
var provider_type = $('#job_template_provider_type');
provider_type.change(setAnsibleTabVisibilityByProvider);
provider_type.change();
provider_type.trigger("change", setAnsibleTabVisibilityByProvider);
provider_type.trigger("change");

function setAnsibleTabVisibilityByProvider() {
var tab_header = $("#ansible_tab_header");
Expand Down

0 comments on commit d0d226b

Please sign in to comment.