aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/posting_buttons.html
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-20 18:01:33 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-20 18:01:33 +0000
commit9c7e7905e067956d602faee08dc91204544b134e (patch)
tree4fb11b4b77d6988543741afc9b97d3c16960c054 /phpBB/styles/prosilver/template/posting_buttons.html
parente4b21e5618b0484445dff70afcc266027e94afdd (diff)
downloadforums-9c7e7905e067956d602faee08dc91204544b134e.tar
forums-9c7e7905e067956d602faee08dc91204544b134e.tar.gz
forums-9c7e7905e067956d602faee08dc91204544b134e.tar.bz2
forums-9c7e7905e067956d602faee08dc91204544b134e.tar.xz
forums-9c7e7905e067956d602faee08dc91204544b134e.zip
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: file:///svn/phpbb/trunk@8209 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/prosilver/template/posting_buttons.html')
-rw-r--r--phpBB/styles/prosilver/template/posting_buttons.html18
1 files changed, 0 insertions, 18 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';