You are here

function webfm_reload_upload in Web File Manager 5

Same name and namespace in other branches
  1. 5.2 webfm.module \webfm_reload_upload()

Rebuild upload form for upload iframe

1 call to webfm_reload_upload()
webfm_upload in ./webfm.module
Called by upload form submit

File

./webfm.module, line 1035

Code

function webfm_reload_upload($url, $confirm_form = '') {
  $form = array();
  if ($confirm_form) {
    array_push($form, $confirm_form);
  }
  array_push($form, webfm_upload_form($url));
  $form = form_builder('upload_js', $form);
  $output = theme('status_messages') . drupal_render($form);
  return $output;
}