diff --git a/main/document/upload.php b/main/document/upload.php index 60f19b082f..d40111eb00 100644 --- a/main/document/upload.php +++ b/main/document/upload.php @@ -578,6 +578,9 @@ $form->addElement('radio', 'if_exists', get_lang('UplWhatIfFileExists'), get_lan $form->addElement('radio', 'if_exists', '', get_lang('UplOverwriteLong'), 'overwrite'); $form->addElement('radio', 'if_exists', '', get_lang('UplRenameLong'), 'rename'); +//close the java script and avoid the footer up +$form -> addElement('html',''); + //button send document $form->addElement('style_submit_button', 'submitDocument', get_lang('SendDocument'),'class="upload"'); $form->add_real_progress_bar('DocumentUpload','user_upload'); @@ -586,8 +589,7 @@ $defaults = array('index_document'=>'checked="checked"'); $form->setDefaults($defaults); -//close the java script and avoid the footer up -$form -> addElement('html',''); + $form->display(); ?>