forked from GithubBackups/vichan
Fix some bugs with new post form 2
This commit is contained in:
parent
ca39eb255a
commit
800c3ddde3
@ -52,7 +52,7 @@
|
||||
|
||||
$postForm.clone();
|
||||
|
||||
$dummyStuff = $('<div class="nonsense"></div>').appendTo($postForm);
|
||||
$dummyStuff = $('<div class="nonsense"></div>').appendTo($postForm.find('form'));
|
||||
|
||||
$postForm.find('table tr').each(function() {
|
||||
var $th = $(this).children('th:first');
|
||||
|
@ -12,6 +12,7 @@
|
||||
var configRoot="{{ config.root }}";
|
||||
var inMod = {% if mod %}true{% else %}false{% endif %};
|
||||
var modRoot="{{ config.root }}"+(inMod ? "mod.php?/" : "");
|
||||
var max_images={{ config.max_images }};
|
||||
</script>
|
||||
{% if config.locale != "en" %}
|
||||
<script type="text/javascript" src="{{ config.root }}inc/locale/{{ config.locale|split('.')[0] }}/LC_MESSAGES/javascript.js"></script>
|
||||
|
@ -503,7 +503,6 @@ function ready() {
|
||||
{% endraw %}
|
||||
|
||||
var post_date = "{{ config.post_date }}";
|
||||
var max_images = {{ config.max_images }};
|
||||
if (typeof active_page === "undefined") {
|
||||
active_page = "page";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user