From b96490b491b725557456479844c0c4fbb9c2d107 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Thu, 1 Jul 2021 17:22:00 +0800 Subject: [PATCH] * Finish task #39870. --- module/doc/js/objectlibs.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/module/doc/js/objectlibs.js b/module/doc/js/objectlibs.js index af11fb65bb..9b69a1d2a6 100644 --- a/module/doc/js/objectlibs.js +++ b/module/doc/js/objectlibs.js @@ -1,3 +1,13 @@ + +/** + * Ajax delete doc. + * + * @param string $link + * @param replaceID $replaceID + * @param string $notice + * @access public + * @return void + */ function ajaxDeleteDoc(link, replaceID, notice) { if(confirm(notice)) @@ -9,7 +19,13 @@ function ajaxDeleteDoc(link, replaceID, notice) } } -/* Delete a file. */ +/** + * Delete a file. + * + * @param int $fileID + * @access public + * @return void + */ function deleteFile(fileID) { if(!fileID) return;