diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/styles/prosilver/template/posting_buttons.html | 18 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/posting_layout.html | 2 |
2 files changed, 1 insertions, 19 deletions
diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html index 357d20c93b..40f9503ca1 100644 --- a/phpBB/styles/prosilver/template/posting_buttons.html +++ b/phpBB/styles/prosilver/template/posting_buttons.html @@ -32,24 +32,6 @@ <!-- END custom_tags --> } - function checkForm() - { - if (document.getElementById(text_name).value.length < 2 && load_draft == false) - { - if (!upload) - { - alert('{LA_EMPTY_MESSAGE}'); - return false; - } - upload = false; - return true; - } - else - { - return true; - } - } - var panels = new Array('options-panel', 'attach-panel', 'poll-panel'); var show_panel = 'options-panel'; diff --git a/phpBB/styles/prosilver/template/posting_layout.html b/phpBB/styles/prosilver/template/posting_layout.html index 754d8a5218..ac9c288822 100644 --- a/phpBB/styles/prosilver/template/posting_layout.html +++ b/phpBB/styles/prosilver/template/posting_layout.html @@ -21,7 +21,7 @@ </div> <!-- ENDIF --> -<form id="postform" method="post" action="{S_POST_ACTION}" onsubmit="return checkForm(this);"{S_FORM_ENCTYPE}> +<form id="postform" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}> <!-- IF S_DRAFT_LOADED --> <div class="panel"> |