Uploaded image for project: 'Advanced'
  1. Advanced
  2. TADV-16

Js Error on link suggest page

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1-B1
    • Component/s: General
    • Labels:
      None

      Description

      Got 2 js errors on link suggesting page (url:

      /index.php?env=in-link/links/suggest_link:m2-1-1-1-s)

      aMultiLanguageSelector is null
      aMultiLanguageSelector.registerControl('l[0][l1_Name]');

      aMultiLanguageSelector is null
      aMultiLanguageSelector.registerControl('l[0][l1_Description]');

      Errors are due to JS calls to aMultiLanguageSelector object in the middle of the page (form) before it's been loaded with JQ document.ready + JS Compression outputs the actual script.js after the object is initialized.

      In result had to move JS with aMultiLanguageSelector and aRatingManager to default_design.des.tpl.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: