fixes quick reply
This commit is contained in:
parent
984b57063d
commit
c8c0b04492
|
@ -23,7 +23,7 @@ $('<div class="dropzone-wrap" style="display: none;">'+
|
|||
'<div class="file-thumbs"></div>'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'</div>').prependTo('#upload td');
|
||||
'</div>').prependTo('#upload td.upload-area');
|
||||
|
||||
var files = [];
|
||||
$('#upload_file').remove(); // remove the original file selector
|
||||
|
|
|
@ -261,7 +261,7 @@
|
|||
if ($(this).attr('name') == 'spoiler') {
|
||||
$td.find('label').remove();
|
||||
$(this).attr('id', 'q-spoiler-image');
|
||||
$postForm.find('input[type="file"]').parent()
|
||||
$postForm.find('#upload')
|
||||
.removeAttr('colspan')
|
||||
.after($('<td class="spoiler"></td>').append(this, ' ', $('<label for="q-spoiler-image">').text(_('Spoiler Image'))));
|
||||
} else if ($(this).attr('name') == 'no_country') {
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
<th>
|
||||
{% trans %}File{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<td class="upload-area">
|
||||
<input type="file" name="file" id="upload_file">
|
||||
|
||||
{% if config.allow_upload_by_url %}
|
||||
|
|
Loading…
Reference in New Issue