MDL-7660 - mod_data: Changed the filepicker to filemanager for field elements.

This allows users to delete their files or pictures when editing their entries
which was previously unavailable.

Also the use of the filemanager allows for drag and drop to be active.
This commit is contained in:
Adrian Greeve
2013-01-04 12:17:47 +08:00
parent 9da506c2a3
commit 173c6f2c8b
4 changed files with 63 additions and 10 deletions
+1
View File
@@ -26,6 +26,7 @@
require_once('../../config.php');
require_once('lib.php');
require_once("$CFG->libdir/rsslib.php");
require_once("$CFG->libdir/form/filemanager.php");
$id = optional_param('id', 0, PARAM_INT); // course module id
$d = optional_param('d', 0, PARAM_INT); // database id