Uploaded image for project: 'Apache Guacamole - Contributions'
  1. Apache Guacamole - Contributions
  2. GUAC-833

JS error thrown - Mouse.js not checking if variable is undefined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.9.4
    • Component/s: guacamole-common-js
    • Labels:
      None

      Description

      I get this in FireFox occassionally:

      TypeError: h is undefined
      Guacamole.Mouse/<(i=mouseout clientX=510, clientY=599)all.min.js (line 2)
       
      ...lement;while(h!==null){if(h===e){return}h=h.parentNode}c(i);if(d.currentState.le...

      I think an undefined check is needed. Patch attached.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mike.jumper Michael Jumper
              Reporter:
              dborth Daryl Borth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: