Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17886

js error on contribution form with no payment

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: None
    • Component/s: CiviContribute
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      to recreate:

      • create a contribution form
      • disable real time monetary transactions and all contrib fields on the Amounts tab
      • enable a membership
      • view the form

      there is a js console error because a block of javascript is loaded that works with payment fields (a change() function on the payment_processor_id) – but because payments are disabled the form element isn't loaded and it errors.

      test form here: http://dmaster.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=4

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: