Index: trunk/extensions/SemanticForms/specials/SF_CreateForm.php |
— | — | @@ -246,7 +246,7 @@ |
247 | 247 | END; |
248 | 248 | $saveAttrs = array( 'type' => 'submit', 'id' => 'wpSave', 'name' => 'wpSave', 'value' => wfMsg( 'savearticle' ) ); |
249 | 249 | if ( count( $form_templates ) == 0 ) { $saveAttrs['disabled'] = 'disabled'; } |
250 | | - $editButtonsText .= "\t" . Xml::element( 'input', $saveAttrs ) . "\n"; |
| 250 | + $editButtonsText = "\t" . Xml::element( 'input', $saveAttrs ) . "\n"; |
251 | 251 | $previewAttrs = array( 'type' => 'submit', 'id' => 'wpPreview', 'name' => 'wpPreview', 'value' => wfMsg( 'preview' ) ); |
252 | 252 | if ( count( $form_templates ) == 0 ) { $previewAttrs['disabled'] = 'disabled'; } |
253 | 253 | $editButtonsText .= "\t" . Xml::element( 'input', $previewAttrs ) . "\n"; |