Changeset 5643 in subversion
- Timestamp:
- Dec 22, 2011 11:35:38 AM (18 months ago)
- Location:
- trunk/roundcubemail/program
- Files:
-
- 3 edited
-
js/app.js (modified) (1 diff)
-
steps/addressbook/edit.inc (modified) (3 diffs)
-
steps/mail/compose.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/js/app.js
r5632 r5643 1044 1044 1045 1045 case 'upload-photo': 1046 this.upload_contact_photo(props );1046 this.upload_contact_photo(props || this.gui_objects.uploadform); 1047 1047 break; 1048 1048 -
trunk/roundcubemail/program/steps/addressbook/edit.inc
r5634 r5643 178 178 179 179 // set defaults 180 $attrib += array('id' => 'rcmUpload box', 'buttons' => 'yes');180 $attrib += array('id' => 'rcmUploadform', 'buttons' => 'yes'); 181 181 182 182 // find max filesize value … … 192 192 193 193 $out = html::div($attrib, 194 $OUTPUT->form_tag(array(' name' => 'uploadform', 'method' => 'post', 'enctype' => 'multipart/form-data'),194 $OUTPUT->form_tag(array('id' => $attrib['id'].'Frm', 'name' => 'uploadform', 'method' => 'post', 'enctype' => 'multipart/form-data'), 195 195 $hidden->show() . 196 196 html::div(null, $input->show()) . … … 204 204 205 205 $OUTPUT->add_label('addphoto','replacephoto'); 206 $OUTPUT->add_gui_object('upload box', $attrib['id']);206 $OUTPUT->add_gui_object('uploadform', $attrib['id'].'Frm'); 207 207 return $out; 208 208 } -
trunk/roundcubemail/program/steps/mail/compose.inc
r5623 r5643 1277 1277 1278 1278 $out = html::div($attrib, 1279 $OUTPUT->form_tag(array(' name' => 'uploadform', 'method' => 'post', 'enctype' => 'multipart/form-data'),1279 $OUTPUT->form_tag(array('id' => $attrib['id'].'Frm', 'name' => 'uploadform', 'method' => 'post', 'enctype' => 'multipart/form-data'), 1280 1280 html::div(null, rcmail_compose_attachment_field(array('size' => $attrib['attachmentfieldsize']))) . 1281 1281 html::div('hint', rcube_label(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize)))) . … … 1287 1287 ); 1288 1288 1289 $OUTPUT->add_gui_object('uploadform', $attrib['id'] );1289 $OUTPUT->add_gui_object('uploadform', $attrib['id'].'Frm'); 1290 1290 return $out; 1291 1291 }
Note: See TracChangeset
for help on using the changeset viewer.
