Bump Phraseanet production client

- fix search form and light refactoring
- fix double download
- misc fixes
This commit is contained in:
Florian BLOUET
2016-04-01 15:14:48 +02:00
parent 472bc088e2
commit 73eb344019
3 changed files with 5 additions and 6 deletions

View File

@@ -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 %}
});