You are here

function imce_js_delete in IMCE 7

Same name and namespace in other branches
  1. 6.2 inc/imce.js.inc \imce_js_delete()
  2. 6 inc/js.inc \imce_js_delete()

Ajax operation: delete.

File

inc/imce.js.inc, line 44
Handles ajax file operations.

Code

function imce_js_delete(&$imce) {
  if ($imce['perm']['delete']) {
    $_POST['op'] = t('Delete');
    return imce_process_fileop($imce);
  }
}