tinycm diff lib/functions.js @ rev 121
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 12:26:25 2019 +0100 (2019-02-26) |
parents | 9d0f7be12384 |
children |
line diff
1.1 --- a/lib/functions.js Sun Apr 22 10:49:23 2012 +0100 1.2 +++ b/lib/functions.js Tue Feb 26 12:26:25 2019 +0100 1.3 @@ -29,3 +29,13 @@ 1.4 return false; 1.5 } 1.6 } 1.7 + 1.8 +// Check for empty messages on Community Wall 1.9 +function checkWall() { 1.10 + if(document.forms["wall"]["message"].value == "") 1.11 + { 1.12 + alert("Empty message box :-) Write down and then press ENTER"); 1.13 + document.forms["signup"]["message"].focus(); 1.14 + return false; 1.15 + } 1.16 +}