Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2939

Order: AJAX template causes JavaScript error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.1
    • Component/s: None
    • Labels:
      None

      Description

      When checking out with an order using an AJAX order template (e.g. AJAX Boxes), the "Order Summary", "Payment Method", and "Register or Log In" sections will fail to load due to a JavaScript error.

      The error indicates:

      Uncaught TypeError: Cannot read property 'on' of undefined at initPackages (VM152 order.js:51)
      

      This appears to be caused by a call to:

      $("#package_slider").slider({...}).on('slide', function(e) { ...});
      

      ...where the #package_slider is not in the page, and so the slider cannot be added to it.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              27/Nov/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 11 minutes
              11m

                Agile