Hello all,

We began testing the Port Query plugin at MCRF and encountered a small issue 
when testing in IE 9 (institution standard browser).  IE 9 didn't support the 
addEventListener call in pqctrl.js.  Not sure if this will be helpful for 
anyone else, but the following modification seemed to resolve the issue:

Original (In pqctrl.js @ mkPortQuery function):
        function onClick(elt, doit) {
            elt.addEventListener("click", doit);
        }

Modified:
        function onClick(elt, doit) {
            if(elt.addEventListener){
                 elt.addEventListener("click", doit);
             }
            else if(elt.attachEvent) {
                elt.attachEvent("onclick", doit);
            }
        }

Thanks,
Eric LaRose

______________________________________________________________________
The contents of this message may contain private, protected and/or privileged 
information.  If you received this message in error, you should destroy the 
e-mail message and any attachments or copies, and you are prohibited from 
retaining, distributing, disclosing or using any information contained within.  
Please contact the sender and advise of the erroneous delivery by return e-mail 
or telephone.  Thank you for your cooperation.
_______________________________________________
Gpc-dev mailing list
[email protected]
http://listserv.kumc.edu/mailman/listinfo/gpc-dev

Reply via email to