No. A 3 line module is not worth its own project and issue queue and such.<br><br>This module is best posted in the snippets here <a href="http://drupal.org/node/23220">http://drupal.org/node/23220</a><br><br>See also here <a href="http://drupal.org/handbook/customization/php-snippets">http://drupal.org/handbook/customization/php-snippets</a><br>
<br><div class="gmail_quote">On Thu, Apr 30, 2009 at 4:15 AM, Pierre Rineau <span dir="ltr">&lt;<a href="mailto:pierre.rineau@makina-corpus.com">pierre.rineau@makina-corpus.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi folks,<br>
<br>
I made a really, really simple module (3 lines and a JS file).<br>
<br>
It uses the &quot;title&quot; HTML attribute on text and textarea HTML inputs to<br>
display an empty value in the input, which disappear on focus, and<br>
re-appear on focus out if input is still empty.<br>
<br>
This is simple, I saw something like 10 or 20 different JS<br>
implementations; I choosed one of them, (one I saw on Drupal.org&#39;s<br>
forums), adapted it a bit the JS file to be more coherent with Drupal6.<br>
<br>
The real module just does a &quot;drupal_add_js()&quot; in hook_init() (which<br>
should be compatible with aggressive caching).<br>
<br>
Do you think this is a good idea to commit it in the Drupal CVS, as a<br>
new project?<br>
<br>
Or do you known some modules which already does the same thing, in a<br>
better way?<br>
<br>
Regards,<br>
<font color="#888888">Pierre.<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>