You are here

function cmis_browser_browse_form_submit in CMIS API 6

Same name and namespace in other branches
  1. 6.4 cmis_browser/cmis_browser.module \cmis_browser_browse_form_submit()
  2. 6.2 cmis_browser/cmis_browser.module \cmis_browser_browse_form_submit()
  3. 6.3 cmis_browser/cmis_browser.module \cmis_browser_browse_form_submit()
  4. 7.2 cmis_browser/cmis_browser.module \cmis_browser_browse_form_submit()
  5. 7 cmis_browser/cmis_browser.module \cmis_browser_browse_form_submit()

Handle CMIS repository browse form submission.

File

cmis_browser/cmis_browser.module, line 48

Code

function cmis_browser_browse_form_submit($form, &$form_state) {
  $path = $form_state['values']['path'];
  $submit2 = $form_state['values']['browse'];
  unset($form_state['storage']);
  if ('Browse' == $submit2) {
    $form_state['redirect'] = 'cmis/browser' . $path;
  }
}