Open etiennelb opened 13 years ago
Hi,
In clean_form() method, you're calling dirtyform.reset() :
if(dirtyform.is('form')) { dirtyform.reset().find('.changed:input').each(function(){ $(this).trigger($.DirtyForm.monitorEvent + '.dirty_form'); }); }
A javascript error occurs :
dirtyform.reset is not a function
It seems that the reset() function exists only in javascript form object but not in jQuery objects.
I removed the reset() call and it worked. Thank you for your plugin.
Hi,
In clean_form() method, you're calling dirtyform.reset() :
A javascript error occurs :
It seems that the reset() function exists only in javascript form object but not in jQuery objects.
I removed the reset() call and it worked. Thank you for your plugin.