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

Various JavaScript errors, ensure CivICRM's jQuery libraries are loaded properly

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.7
    • Fix Version/s: None
    • Component/s: None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      I'm seeing various jQuery errors on some CiviCRM pages and forms.

      Will update with specific errors soon.

      Mostly the javascript functionality still works, the tabs, ajax panes on contact summary pages, most things I've tried (excepting the API Explorer) work as expected.

      Try going to a live Contribution page. You'll see some errors like
      type error $ undefined in BillingBlock.js
      But the reveal of the billing block when selecting membership/conribution option works.

      I've been using the master branch civicrm-core, and there may currently be some bugs before a release, but I suspect that it is possible there is one thing that may fix most if not all the errors.

      In Drupal 8, javascript is loaded right before the closing </body> tag instead of in the <head> . Currently CivICRM's jQuery et al are loaded in the head.

      Are CiviCRM pages using the jQuery that ships with Civi or Drupal?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jackrabbithanna Mark Hanna
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: