Skip to content
Snippets Groups Projects
Commit 6880f237 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Updated comment of FileDelete.js

parent 351c1074
No related branches found
No related tags found
1 merge request!16First batch of comments
......@@ -17,9 +17,13 @@ var QfqNS = QfqNS || {};
'use strict';
/**
* Handle file deletion.
*
* @param formSelector
* @param targetUrl
* Upon instantiation, it attaches to all `<button>` elements having the class `delete-file`, within the elements
* selected by the `formSelector`.
*
* @param formSelector jQuery selector of the `<form>` this instance is responsible for.
* @param targetUrl endpoint URL to send delete requests to.
* @constructor
*
* @name QfqNS.FileDelete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment