X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FEvent%2FForm%2FParticipant.tpl;h=a933b98efdaadfc51954e843767eb3f4f10d9438;hb=a946aa64b981cfd2738fa06fa9ce34dd5b76f5f7;hp=109767ebc60a197839064f0ad491532dbdca5078;hpb=5b281dc6dd58665468e45858725bc252247d7d22;p=civicrm-core.git diff --git a/templates/CRM/Event/Form/Participant.tpl b/templates/CRM/Event/Form/Participant.tpl index 109767ebc6..a933b98efd 100644 --- a/templates/CRM/Event/Form/Participant.tpl +++ b/templates/CRM/Event/Form/Participant.tpl @@ -1,6 +1,6 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.5 | + | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ @@ -122,7 +122,7 @@ } if ( showError ) { - cj('#validate_pricefield').show().html("{/literal}{ts escape='js'}This Option is already full for this event.{/ts}{literal}"); + cj('#validate_pricefield').show().html("{/literal}{ts escape='js'}This Option is already full for this event.{/ts}{literal}"); } else { cj('#validate_pricefield').hide( ).html(''); @@ -340,17 +340,6 @@ var $form = $('form.{/literal}{$form.formClass}{literal}'); - // don't show cart related statuses if it's disabled - {/literal}{if !$enableCart}{literal} - var pendingInCartStatusId = {/literal}{$pendingInCartStatusId}{literal}; - $("#status_id option[value='" + pendingInCartStatusId + "']").remove(); - {/literal}{/if}{literal} - - {/literal}{if $action eq 1}{literal} - var pendingRefundStatusId = {/literal}{$pendingRefundStatusId}{literal}; - $("#status_id option[value='" + pendingRefundStatusId + "']").remove(); - {/literal}{/if}{literal} - // Handle event selection $('#event_id', $form).change(function() { var eventId = $(this).val();