Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2508

Dojo references in openmrs.js cause javascript errors

    Details

    • Complexity:
      Low

      Description

      This appears to only affect Internet Explorer users. For FormEntry users, when loading pages that include openmrs.js in the InfoPath taskpane, the following error appears:

      Line: 144
      Char: 3
      Error: Object expected
      Code: 0
      URL: https://amrs.ampath.or.ke/amrs/module/formentry/taskpane/location.htm
      

      This error comes from lines where the dojo-specific $() code is used as a shortcut for document.getElementById(). Replacing all references with the expanded version gets rid of the error.

        Attachments

          Activity

            People

            • Assignee:
              jeremy Jeremy Keiper
              Reporter:
              jeremy Jeremy Keiper
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: