1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 23:50:11 +01:00

Fix some bugs with new post form 3

This commit is contained in:
8chan 2015-03-11 16:16:35 -07:00
parent 800c3ddde3
commit 4602fa3117
3 changed files with 2 additions and 4 deletions

View File

@ -142,6 +142,7 @@
$config['additional_javascript'][] = 'js/image-hover.js';
$config['additional_javascript'][] = 'js/auto-scroll.js';
$config['additional_javascript'][] = 'js/twemoji/twemoji.js';
$config['additional_javascript'][] = 'js/multi-image.js';
// Oekaki (now depends on config.oekaki so can be in all scripts)
$config['additional_javascript'][] = 'js/jquery-ui.custom.min.js';
$config['additional_javascript'][] = 'js/wPaint/lib/wColorPicker.min.js';

View File

@ -21,9 +21,6 @@ function multi_image() {
var new_file = '<br class="file_separator"/><input type="file" name="file'+(images_len+1)+'" id="upload_file'+(images_len+1)+'">';
$('[type=file]:last').after(new_file);
if ($("#quick-reply").length) {
$('#quick-reply [type=file]:last').after(new_file);
}
if (typeof setup_form !== 'undefined') setup_form($('form[name="post"]'));
}
})

View File

@ -180,6 +180,7 @@
<label><input title="{% trans %}Raw HTML{% endtrans %}" type="checkbox" name="raw" id="raw">
{% trans %}Raw HTML{% endtrans %}</label>
</div>{% endif %}
{% endif %}
{# Should always be at the end #}
{% if config.allow_roll %}<div class="dice-option">
@ -188,7 +189,6 @@
<tr><td><input class="dx" name="dx" min="0" type="number"></td><td><input class="dy" name="dy" min="0" type="number"></td><td><input class="dz" name="dz" type="number"></td></tr>
</table>
</div>{% endif %}
{% endif %}
</td>
</tr>
{% if not config.field_disable_password or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}<tr>