snikch/jquery.dirtyforms — Issue #9: Javascript links shouldn't clearUnload()
Author: dannyadair
Created: 2011-10-17 08:05:18+00:00
State: open

I have links on my page with href "#" which have click handlers attached to them. They don't do much: collapse, expand, add/remove elements - they're not going anywhere or submitting a form.

I gave these links the 'ignore' class so that they don't show the dialog. However, once I click one of these links, clearUnload() is called and e.g. refreshing the browser won't be caught anymore. That should be easy to reproduce.

Maybe a new class is needed for this type of links, which leaves bindFn() without calling clearUnload() ?