From 6c4a651fba207e350fefc8f805aa51e1b243b359 Mon Sep 17 00:00:00 2001 From: acydburn Date: Sat, 20 Oct 2007 18:01:33 +0000 Subject: [PATCH] i thought i removed this ages ago... this only gives problems if you need to check for refresh, preview, attaching, poll editing, adding files, etc. Better handle error reporting within the code (we do not rely on JS code anyway). git-svn-id: http://code.phpbb.com/svn/phpbb/trunk@8209 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/styles/prosilver/template/posting_buttons.html | 18 ------------------ phpBB/styles/prosilver/template/posting_layout.html | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html index 357d20c93..40f9503ca 100644 --- a/phpBB/styles/prosilver/template/posting_buttons.html +++ b/phpBB/styles/prosilver/template/posting_buttons.html @@ -32,24 +32,6 @@ } - 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 754d8a521..ac9c28882 100644 --- a/phpBB/styles/prosilver/template/posting_layout.html +++ b/phpBB/styles/prosilver/template/posting_layout.html @@ -21,7 +21,7 @@ -
+
-- 2.11.4.GIT