Recursion problem fixed
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user