I open my app in a new window. In this app I prevent some default events actions for my actions. But when I close the window I want activate the default event actions.
Is there a command how to restore ALL events back to default actions.
How I prevent an default event
preventDefault = function(e) {
e = e || window.event;
if (e.preventDefault) {
e.preventDefault();
}
e.returnValue = false;
};