Skip to content

Commit

Permalink
fix: duplicate JS function
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Sep 10, 2021
1 parent ef3fc66 commit 5386f65
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1934,16 +1934,6 @@ function plugin_formcreator_changeValidators(value) {
}
}

function plugin_formcreator_updateCompositePeerType(rand) {
if ($('#dropdown__link_itemtype' + rand).val() == 'Ticket') {
$('#plugin_formcreator_link_ticket').show();
$('#plugin_formcreator_link_target').hide();
} else {
$('#plugin_formcreator_link_ticket').hide();
$('#plugin_formcreator_link_target').show();
}
}

function plugin_formcreator_cancelMyTicket(id) {
$.ajax({
url: formcreatorRootDoc + '/ajax/cancelticket.php',
Expand Down

0 comments on commit 5386f65

Please sign in to comment.