X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fforum%2Fprivmsg.tt2;h=73a6844f179bc9725becbd17255f94451cccfb40;hb=9fae09d27e069fafcc411d1bb2f3df60055056a7;hp=8870813568d833b37e6c8407fe447a7198df2ad8;hpb=af67320b296a7ebc59fcbe227efc2b0362c0a13d;p=ndwebbie.git diff --git a/root/src/forum/privmsg.tt2 b/root/src/forum/privmsg.tt2 index 8870813..73a6844 100644 --- a/root/src/forum/privmsg.tt2 +++ b/root/src/forum/privmsg.tt2 @@ -28,15 +28,15 @@ $(document).ready(function(){ }); $('#privmsg').submit(function(){ - if(!$('#privmsg :checkbox[@name=uid][@checked]').val()){ + if(!$('#privmsg :checkbox[name=uid][checked]').val()){ alert('You need to add a receiver.'); return false; } - if($('#privmsg :input[@name=subject]').val() == ''){ + if($('#privmsg :input[name=subject]').val() == ''){ alert('You need to write a subject'); return false; } - if($('#privmsg :input[@name=message]').val() == ''){ + if($('#privmsg :input[name=message]').val() == ''){ alert('You need to write a message'); return false; }