Revision: 8843
http://languagetool.svn.sourceforge.net/languagetool/?rev=8843&view=rev
Author: dnaber
Date: 2013-01-04 20:16:50 +0000 (Fri, 04 Jan 2013)
Log Message:
-----------
when leaving the text field and nothing has been entered, show the default text
again
Modified Paths:
--------------
trunk/website/include/checkform.php
Modified: trunk/website/include/checkform.php
===================================================================
--- trunk/website/include/checkform.php 2013-01-04 20:10:14 UTC (rev 8842)
+++ trunk/website/include/checkform.php 2013-01-04 20:16:50 UTC (rev 8843)
@@ -10,7 +10,9 @@
?>
<form name="checkform" action="http://community.languagetool.org"
method="post">
- <textarea onfocus="javascript: if(document.checkform.text.value == '<?php
print $checkDefaultText ?>') { document.checkform.text.value='' } "
+ <textarea
+ onfocus="javascript: if(document.checkform.text.value == '<?php
print $checkDefaultText ?>') { document.checkform.text.value='' } "
+ onblur="javascript: if(document.checkform.text.value == '') {
document.checkform.text.value='<?php print $checkDefaultText ?>' } "
style="width:100%; height:70px" name="text"><?php print
$checkDefaultText ?></textarea>
<div style="margin-top:4px; text-align: right">
<?php if ($showLanguageBox) { ?>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits