mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
PHRAS-211 #fix status not applied
This commit is contained in:
@@ -144,7 +144,7 @@
|
||||
{% else %}
|
||||
<td class="w160px">
|
||||
{% endif %}
|
||||
<div class="diapo w160px" style="margin-bottom:0;border-bottom:none;overflow:hidden;">
|
||||
<div class="diapo w160px" style="margin-bottom:0;border-bottom:none;">
|
||||
<div class="title" style="max-height:100%" title="{{ record.get_title() }}">{{ record.get_title() }}</div>
|
||||
<div class="status">{{ record.get_status_icons()|raw }}</div>
|
||||
<table cellpadding="0" cellspacing="0" style="margin: 0pt auto;">
|
||||
|
@@ -21,7 +21,7 @@
|
||||
onDblClick="openPreview('RESULT',{{record.get_number}});">
|
||||
{% endif %}
|
||||
<div style="padding: 4px;">
|
||||
<div style="height:40px; position: relative; z-index: 95;margin-bottom:0;border-bottom:none;overflow:hidden;">
|
||||
<div style="height:40px; position: relative; z-index: 95;margin-bottom:0;border-bottom:none;">
|
||||
<div class="title" style="max-height:100%" title="{{ record.get_title() }}">
|
||||
{{ record.get_title() }}
|
||||
</div>
|
||||
|
@@ -394,13 +394,19 @@ $(document).ready(function () {
|
||||
//on submit file
|
||||
$('#fileupload', UploaderManager.getContainer()).bind('fileuploadsubmit', function (e, data) {
|
||||
var $this = $(this);
|
||||
var params = [];
|
||||
data.formData = [];
|
||||
|
||||
//get form datas attached to the file
|
||||
data.formData = $.extend(
|
||||
data.context.find('input, select').serializeArray(),
|
||||
$("input", $('.collection-status:visible', UploaderManager.getSettingsBox())).serializeArray(),
|
||||
$("select", UploaderManager.getSettingsBox()).serializeArray()
|
||||
);
|
||||
params.push(data.context.find('input, select').serializeArray());
|
||||
params.push($("input", $('.collection-status:visible', UploaderManager.getSettingsBox())).serializeArray());
|
||||
params.push($("select", UploaderManager.getSettingsBox()).serializeArray());
|
||||
|
||||
$.each(params, function(i, p) {
|
||||
$.each(p, function (i, f){
|
||||
data.formData.push(f);
|
||||
});
|
||||
});
|
||||
|
||||
data.formData.push({
|
||||
"name": "b64_image",
|
||||
|
Reference in New Issue
Block a user