google-code-export / jpicker

Automatically exported from code.google.com/p/jpicker
1 stars 0 forks source link

MSIE Error: "target is null or not an object" #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Drag at any jPicker area (exept Map or Bar) OR
2. Click at any jPicker area more than once (exept Map or Bar)

I am using jPicker 1.1.6 in Windows 7 MSIE8

Error message: "'target' is null or not an object"

The problem occures here:
container.get(0).onselectstart = function(event){ if 
(event.target.nodeName.toLowerCase() !== 'input') return false; };

Original issue reported on code.google.com by sigi.kaj...@gmail.com on 29 Jul 2011 at 3:06

GoogleCodeExporter commented 9 years ago
I am getting the same error.

container.get(0).onselectstart = function(event){ if 
(event.target.nodeName.toLowerCase() !== 'input') return false; };

Original comment by PaulF...@gmail.com on 24 Apr 2012 at 4:25

GoogleCodeExporter commented 9 years ago
Fixed bug by removing if (event.target.nodeName.toLowerCase() !== 'input') 
return false; and just return false

Original comment by PaulF...@gmail.com on 24 Apr 2012 at 4:32