Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Open)
 FireFox Submit Button Not Enabled
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

iane87
Starting Member

USA
42 Posts

Posted - 04 December 2009 :  14:59:26  Show Profile  Visit iane87's Homepage  Reply with Quote
When a user is not logged in and tries to reply to a post if the login fails and the user clicks back (browser button or link) the submit button is disabled.

I have found a workaround that will make it work correctly in FireFox though. Confirmed fix for FireFox 3.5.5

Just look for this code in your post.asp file.


if strRqMethod = "Forum" or _
strRqMethod = "URL" or _
strRqMethod = "EditURL" or _
strRqMethod = "EditForum" then
if strPrivateForums <> "0" then
if mLev = 3 then
Response.Write " onclick=""selectAllOptions(document.PostTopic.AuthUsers);"""
else
Response.Write " onclick=""selectAllOptions(document.PostTopic.AuthUsers);selectAllOptions(document.PostTopic.ForumMod);"""
end if
else
if mLev > 3 then Response.Write " onclick=""selectAllOptions(document.PostTopic.ForumMod);"""
end if
end if
Response.Write ">"



After that add this code:


%>

<script language="JavaScript" type="text/javascript">
document.PostTopic.Submit.disabled=false;
</script>
<%


This will ensure that the button is always enabled no matter what browser you are using. And it still disables while submitting so user should not be able to click it twice if it submits a little slowly.

Twitter MOD | Search Provider MOD | W3C Valid RSS MOD | Google Translate MOD
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07