diff --git a/main/document/create_document.php b/main/document/create_document.php index f99f814d07..d8dca0e851 100644 --- a/main/document/create_document.php +++ b/main/document/create_document.php @@ -1,5 +1,5 @@ add_textfield('filename', get_lang('FileName'),true,'class="input_titles" id="filename" onblur="check_if_still_empty()"'); $form->addRule('filename', get_lang('FileExists'), 'callback', 'document_exists'); } + +$form->addElement('submit', 'submit', get_lang('Ok')); + // HTML-editor $form->add_html_editor('content', get_lang('Content'), false, true); // Comment-field diff --git a/main/document/edit_document.php b/main/document/edit_document.php index b3dff600d3..59eab748a2 100644 --- a/main/document/edit_document.php +++ b/main/document/edit_document.php @@ -1,4 +1,4 @@ -addElement('hidden','formSent'); $defaults['formSent'] = 1; + $form->addElement('submit','submit',get_lang('Ok')); $form->add_html_editor('texte',get_lang('Content'),false,true); $defaults['texte'] = $texte; }