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

jQuery not defined error

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      If you set <c:set var="DO_NOT_INCLUDE_JQUERY" value="true"/> to include your own version of jQuery, you'll see jQuery not defined version on such a page. It's because in headerFull.jsp there's something like:

      if (jQuery)
        jQuery(window).bind('beforeunload', function () { pageIsExiting = true; } );
      

      It throws an error when <c:set var="DO_NOT_INCLUDE_JQUERY" value="true"/> is used. It should be:

      if (typeof(jQuery) != "undefined")
        jQuery(window).bind('beforeunload', function () { pageIsExiting = true; } );
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dkayiwa Daniel Kayiwa
              Reporter:
              raff Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: