lib/gollum/frontend/public/gollum/javascript/gollum.dialog.js in gollum-2.0.0 vs lib/gollum/frontend/public/gollum/javascript/gollum.dialog.js in gollum-2.1.0

- old
+ new

@@ -70,9 +70,12 @@ if ( fieldAttributes.id ) { html += ' name="' + fieldAttributes.id + '"' if ( fieldAttributes.type == 'code' ) { html+= ' class="code"'; } + if ( fieldAttributes.defaultValue ) { + html+= ' value="' + fieldAttributes.defaultValue.split('"').join('"') + '"'; + } html += ' id="gollum-dialog-dialog-generated-field-' + fieldAttributes.id + '">'; } return html;