Here's a piece of JavaScript code I'm working with:
google.maps.event.addListener(mark, 'dragend',x(mark));
function x(mark)
{
mark.setDraggable(false);
}
Recently, when I try to move a marker to a different position, I encounter this exception in my main.js file:
SCRIPT5007:Can not get value of property 'apply': the object is null or undefined
main.js, Line 23 Character 104
Interestingly, this issue seems to be specific to Internet Explorer, as the code works flawlessly on Chrome and Firefox.