Add smart checkbox selector. Code donated by the Paperattor project (www.paperattor.com).

Unify checkbox selection code for list items and table items.
Move some javascript initialization to the root template.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-03 04:32:47 -04:00
parent 5fa0dc8d0d
commit bad90c9848
6 changed files with 46 additions and 23 deletions

View File

@@ -294,6 +294,13 @@ If no path is specified the backend will default to 'mayan/media/document_storag
Finally, to standardize the way app use storage, the .storages modules is now used
instead of the .runtime module.
Smart checkbox selection
------------------------
A faster way to select multiple item has been added. Click the checkbox of the first,
hold the Shift key, and then click the checkbox of the last item of the selection.
This will select the first, the last and all items in between. To deselect multiple
items the same procedure is used. This code was donated by the Paperattor
project (www.paperattor.com).
Other changes worth mentioning
------------------------------