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:
@@ -33,6 +33,6 @@
|
|||||||
"postinstall": "./node_modules/.bin/gulp install;"
|
"postinstall": "./node_modules/.bin/gulp install;"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"phraseanet-production-client": "~0.10.0"
|
"phraseanet-production-client": "~0.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -108,16 +108,16 @@
|
|||||||
$.post("{{ path('execute_download', {'token': token.getValue(), 'type': type, 'anonymous': anonymous}) }}", function(data){
|
$.post("{{ path('execute_download', {'token': token.getValue(), 'type': type, 'anonymous': anonymous}) }}", function(data){
|
||||||
if(data.success) {
|
if(data.success) {
|
||||||
$('form[name=download]').submit();
|
$('form[name=download]').submit();
|
||||||
|
} else {
|
||||||
|
setTimeout("location.reload()", "{{ time ~ "000" }}");
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
setTimeout("location.reload()", "{{ time ~ "000" }}");
|
|
||||||
{% elseif (list['complete'] is defined and list['complete'])%} {# Zip done #}
|
{% elseif (list['complete'] is defined and list['complete'])%} {# Zip done #}
|
||||||
// Get files
|
// Get files
|
||||||
$('form[name=download]').submit();
|
$('form[name=download]').submit();
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
setTimeout("location.reload()", "{{ time ~ "000" }}");
|
setTimeout("location.reload()", "{{ time ~ "000" }}");
|
||||||
{% endif %}
|
{% endif %}
|
||||||
});
|
});
|
||||||
|
@@ -213,8 +213,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="advancedSearchForm" class="controls controls-row adv_options" style="display:none;">
|
||||||
<div class="controls controls-row adv_options" style="display:none;">
|
|
||||||
<table style="width:100%; table-layout:fixed;">
|
<table style="width:100%; table-layout:fixed;">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width:50%; vertical-align:top;">
|
<td style="width:50%; vertical-align:top;">
|
||||||
@@ -232,7 +231,7 @@
|
|||||||
<td style="width:50%; vertical-align:top;">
|
<td style="width:50%; vertical-align:top;">
|
||||||
<div id="sbasfiltercont">
|
<div id="sbasfiltercont">
|
||||||
<div class="btn-toolbar">
|
<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>
|
||||||
<div id="ADVSRCH_OPTIONS_ZONE">
|
<div id="ADVSRCH_OPTIONS_ZONE">
|
||||||
<div id="ADVSRCH_SORT_ZONE">
|
<div id="ADVSRCH_SORT_ZONE">
|
||||||
|
Reference in New Issue
Block a user