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 class="file-thumbs"></div>'+
|
||||||
'</div>'+
|
'</div>'+
|
||||||
'</div>'+
|
'</div>'+
|
||||||
'</div>').prependTo('#upload td');
|
'</div>').prependTo('#upload td.upload-area');
|
||||||
|
|
||||||
var files = [];
|
var files = [];
|
||||||
$('#upload_file').remove(); // remove the original file selector
|
$('#upload_file').remove(); // remove the original file selector
|
||||||
|
|
|
@ -261,7 +261,7 @@
|
||||||
if ($(this).attr('name') == 'spoiler') {
|
if ($(this).attr('name') == 'spoiler') {
|
||||||
$td.find('label').remove();
|
$td.find('label').remove();
|
||||||
$(this).attr('id', 'q-spoiler-image');
|
$(this).attr('id', 'q-spoiler-image');
|
||||||
$postForm.find('input[type="file"]').parent()
|
$postForm.find('#upload')
|
||||||
.removeAttr('colspan')
|
.removeAttr('colspan')
|
||||||
.after($('<td class="spoiler"></td>').append(this, ' ', $('<label for="q-spoiler-image">').text(_('Spoiler Image'))));
|
.after($('<td class="spoiler"></td>').append(this, ' ', $('<label for="q-spoiler-image">').text(_('Spoiler Image'))));
|
||||||
} else if ($(this).attr('name') == 'no_country') {
|
} else if ($(this).attr('name') == 'no_country') {
|
||||||
|
|
|
@ -145,7 +145,7 @@
|
||||||
<th>
|
<th>
|
||||||
{% trans %}File{% endtrans %}
|
{% trans %}File{% endtrans %}
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td class="upload-area">
|
||||||
<input type="file" name="file" id="upload_file">
|
<input type="file" name="file" id="upload_file">
|
||||||
|
|
||||||
{% if config.allow_upload_by_url %}
|
{% if config.allow_upload_by_url %}
|
||||||
|
|
Loading…
Reference in New Issue