1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 11:10:18 +02:00
git-svn-id: file:///svn/phpbb/trunk@7319 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Dominik Dröscher
2007-04-09 20:40:30 +00:00
parent c411c05060
commit 4376e86a9e
4 changed files with 13 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
<script type="text/javascript">
<!--
var form_name = <!-- IF S_EDIT_DRAFT or S_PRIVMSGS -->'post'<!-- ELSE -->'postform'<!-- ENDIF -->;
var text_name = <!-- IF $SIG_EDIT eq 1 -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->;
var form_name = 'postform';
var text_name = 'message';
var load_draft = false;
var upload = false;
@@ -36,7 +36,7 @@
if (document.getElementById(text_name).value.length < 2 && load_draft == false)
{
if (!upload)
{
{
alert('{L_EMPTY_MESSAGE}');
return false;
}