function filefield_file_edit_delete_js in FileField 6.2
Form callback for the "Delete" button with JavaScript enabled, invoked by filefield_js(). Marks the file in the given field and delta as deleted, or deletes it right away (depending on the context).
1 string reference to 'filefield_file_edit_delete_js'
- filefield_menu in ./
filefield.module - Implementation of hook_menu().
File
- ./
filefield.widget.inc, line 602 - FileField: Defines a CCK file field type.
Code
function filefield_file_edit_delete_js(&$form, &$form_state, $field, $delta) {
filefield_file_edit_delete($form_state, $field, $delta);
}