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

@@ -33,6 +33,6 @@
"postinstall": "./node_modules/.bin/gulp install;"
},
"dependencies": {
"phraseanet-production-client": "~0.10.0"
"phraseanet-production-client": "~0.11.0"
}
}

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

View File

@@ -213,8 +213,7 @@
</div>
</div>
<div class="controls controls-row adv_options" style="display:none;">
<div id="advancedSearchForm" class="controls controls-row adv_options" style="display:none;">
<table style="width:100%; table-layout:fixed;">
<tr>
<td style="width:50%; vertical-align:top;">
@@ -232,7 +231,7 @@
<td style="width:50%; vertical-align:top;">
<div id="sbasfiltercont">
<div class="btn-toolbar">
<input class="btn btn-inverse" type="button" value="{{ 'Re-initialiser' | trans }}" onclick="prodApp.appEvents.emit('search.doResetSearch');" />
<input class="btn btn-inverse search-reset-action" type="button" value="{{ 'Re-initialiser' | trans }}" />
</div>
<div id="ADVSRCH_OPTIONS_ZONE">
<div id="ADVSRCH_SORT_ZONE">