Recursion problem fixed

This commit is contained in:
Eston Bond
2010-11-09 19:26:50 -08:00
parent 404ec5935e
commit fcbb54772b
@@ -17,7 +17,6 @@
}; };
var ActiveOptions = {}; var ActiveOptions = {};
/** /**
* $.GollumEditor * $.GollumEditor
* *
@@ -40,6 +39,8 @@
$('#gollum-editor form[name="gollum-editor"]').submit(function( e ) { $('#gollum-editor form[name="gollum-editor"]').submit(function( e ) {
e.preventDefault(); e.preventDefault();
Placeholder.clearAll(); Placeholder.clearAll();
debug('submitting');
$(this).unbind('submit');
$(this).submit(); $(this).submit();
}); });
} }