Fix #612
This commit is contained in:
@@ -38,7 +38,9 @@
|
|||||||
$.GollumEditor.Placeholder.add($('#gollum-editor-edit-summary input'));
|
$.GollumEditor.Placeholder.add($('#gollum-editor-edit-summary input'));
|
||||||
$('#gollum-editor form[name="gollum-editor"]').submit(function( e ) {
|
$('#gollum-editor form[name="gollum-editor"]').submit(function( e ) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$.GollumEditor.Placeholder.clearAll();
|
// Do not clear default place holder text
|
||||||
|
// Updated home (markdown)
|
||||||
|
// $.GollumEditor.Placeholder.clearAll();
|
||||||
debug('submitting');
|
debug('submitting');
|
||||||
$(this).unbind('submit');
|
$(this).unbind('submit');
|
||||||
$(this).submit();
|
$(this).submit();
|
||||||
|
|||||||
Reference in New Issue
Block a user