1 | function filesDownloadAll(title, event, yiiDownloadAllLink) { |
||
2 | obj = $(event.target).parents('div.files-block'); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
3 | hashes = ""; |
||
0 ignored issues
–
show
|
|||
4 | $.each(obj.find('.f12-file-object'), function (key, val) { |
||
5 | hashes += "&hash[]=" + $(val).data('hash'); |
||
0 ignored issues
–
show
|
|||
6 | }); |
||
7 | console.log(hashes); |
||
0 ignored issues
–
show
|
|||
8 | |||
9 | window.open(yiiDownloadAllLink + "?title=" + title + hashes); |
||
10 | |||
11 | } |