Ticket #1485056: compose.diff

File compose.diff, 0.7 kB (added by Javer, 8 months ago)
  • compose.inc

    old new  
    713713  $button = new html_inputfield(array('type' => "button", 'class' => "button")); 
    714714   
    715715  $out = html::div($attrib, 
    716     $OUTPUT->form_tag(array('name' => "form", 'method' => "post")) . 
     716    $OUTPUT->form_tag(array('name' => "form", 'method' => "post", 'enctype' => "multipart/form-data")) . 
    717717    rcmail_compose_attachment_field(array()) . html::br() . 
    718718    $button->show(rcube_label('close'), array('onclick' => "document.getElementById('$attrib[id]').style.visibility='hidden'")) . 
    719719    $button->show(rcube_label('upload'), array('onclick' => JS_OBJECT_NAME . ".command('send-attachment', this.form)"))