mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Bump Phraseanet production client
- fix search form and light refactoring - fix double download - misc fixes
This commit is contained in:
@@ -108,16 +108,16 @@
|
||||
$.post("{{ path('execute_download', {'token': token.getValue(), 'type': type, 'anonymous': anonymous}) }}", function(data){
|
||||
if(data.success) {
|
||||
$('form[name=download]').submit();
|
||||
} else {
|
||||
setTimeout("location.reload()", "{{ time ~ "000" }}");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
setTimeout("location.reload()", "{{ time ~ "000" }}");
|
||||
{% elseif (list['complete'] is defined and list['complete'])%} {# Zip done #}
|
||||
// Get files
|
||||
$('form[name=download]').submit();
|
||||
{% else %}
|
||||
|
||||
setTimeout("location.reload()", "{{ time ~ "000" }}");
|
||||
{% endif %}
|
||||
});
|
||||
|
Reference in New Issue
Block a user