From f3b0ba49e04074c3f178b133ffafa113cf11de3f Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Thu, 20 Dec 2012 19:41:28 -0700 Subject: [PATCH] Fix #612 --- .../frontend/public/gollum/javascript/editor/gollum.editor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js b/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js index fd0bcc3f..2f9b4fcc 100755 --- a/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js +++ b/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js @@ -38,7 +38,9 @@ $.GollumEditor.Placeholder.add($('#gollum-editor-edit-summary input')); $('#gollum-editor form[name="gollum-editor"]').submit(function( e ) { e.preventDefault(); - $.GollumEditor.Placeholder.clearAll(); + // Do not clear default place holder text + // Updated home (markdown) + // $.GollumEditor.Placeholder.clearAll(); debug('submitting'); $(this).unbind('submit'); $(this).submit();