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

Order Plugin: Undefined JS function fetchPackageOptions()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-b2
    • Fix Version/s: 3.2.0-b3
    • Component/s: Plugins
    • Labels:
      None

      Description

      The AJAX order template references the use of fetchPackageOptions() javascript function, however, that function is not defined at the time it is loaded, and thus produces a javascript error on the page.

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        Hide
        cody Cody Phillips (Inactive) added a comment - - edited

        Looks like it only becomes undefined when using the domain and other template.

        Show
        cody Cody Phillips (Inactive) added a comment - - edited Looks like it only becomes undefined when using the domain and other template.
        cody Cody Phillips (Inactive) made changes -
        Field Original Value New Value
        Description The AJAX and Wizard order templates include a config.js file. This file references the use of "fetchPackageOptions()", however, that function is not defined at the time it is loaded, and thus produces a javascript error on the page. The Wizard order templat references the use of *fetchPackageOptions()* javascript function, however, that function is not defined at the time it is loaded, and thus produces a javascript error on the page.
        cody Cody Phillips (Inactive) made changes -
        Description The Wizard order templat references the use of *fetchPackageOptions()* javascript function, however, that function is not defined at the time it is loaded, and thus produces a javascript error on the page. The Wizard and/or AJAX order template references the use of *fetchPackageOptions()* javascript function, however, that function is not defined at the time it is loaded, and thus produces a javascript error on the page.
        Hide
        cody Cody Phillips (Inactive) added a comment -

        Only happens for AJAX order template.

        Show
        cody Cody Phillips (Inactive) added a comment - Only happens for AJAX order template.
        cody Cody Phillips (Inactive) made changes -
        Description The Wizard and/or AJAX order template references the use of *fetchPackageOptions()* javascript function, however, that function is not defined at the time it is loaded, and thus produces a javascript error on the page. The AJAX order template references the use of *fetchPackageOptions()* javascript function, however, that function is not defined at the time it is loaded, and thus produces a javascript error on the page.
        cody Cody Phillips (Inactive) made changes -
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        cody Cody Phillips (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        cody Cody Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/May/14