I Think I May Have Figured It Out
#545 posted by
pjw on 2005/02/01 18:11:47
When you preview a post, and then hit "back" in your browser, the radio button for the icon goes away.
That's how I produced the blank post above.
Looks Like It Doesn't Happen With IE
#546 posted by
pjw on 2005/02/01 18:13:52
But does with Firefox.
Interesting...
#547 posted by
metlslime on 2005/02/02 00:55:15
But, on a side note, why would you hit "back" after previewing your post? The preview page has an edit box, and a preview and submit button. You can just keep going forward, never backwards (and always twirling towards freedom...)
Test
#548 posted by metlslime on 2005/02/02 02:33:38
test
Okay,
#549 posted by
metlslime on 2005/02/02 02:34:57
I think I've got the invalid icon bug fixed -- i added some server-side validation that should chatch that and a few other problems.
Note: another thing i added is a block to prevent both title and body from being empty. So watch out!!!!
Update
#550 posted by
metlslime on 2005/02/02 03:57:22
I've now updated the javascript validation to be consistent with the server side validation. I also fixed the stupid flaw in my javascript that let you type just a space for body and title and submit. So hopefully, you'll never see a server-side error message.
And yes, i was screwing with the posting code for the last hour. Sorry shambler :)
As a bonus, here's Cthulhu nigiri!
http://www.antipope.org/feorag/artwork/beermat/cthulhu-nigiri.jpg
I'm Not Touching That
#551 posted by
Kell on 2005/02/02 04:29:13
without my Chopsticks Of Ultimate Horror.
Nice work with the forum code, metlu ;)
#552 posted by
pjw on 2005/02/02 07:08:46
why would you hit "back" after previewing your post?
Because people on the internet are stupid and will do anything possible to screw up anything possible in any possible way.
(Like making blank titles.)
.
#555 posted by
necros on 2005/02/02 08:47:23
well, if you're going to stop blank titles from working, at least have the default titles then? (although, it appears that it is still allowed?)
#556 posted by
PuLSaR on 2005/02/02 10:05:19
I also fixed the stupid flaw in my javascript that let you type just a space for body and title and submit.
Let's check if it's true, if it is, than you're a bad guy, metl
Actually,
#558 posted by
necros on 2005/02/02 10:08:04
i think he meant that the title AND body could be empty before. (which is no longer the case)
Okay...
#562 posted by
metlslime on 2005/02/03 04:31:57
i think javascript and server-side validation can now both stop people trying to post with a body that only contains html tags, such as an open and close italic tag.
Let me know if there are any problems.
You Got It.
#563 posted by
pjw on 2005/02/03 07:34:48
I can't seem to break it at this point. Good work.
Ah, Ok.
#566 posted by
necros on 2005/02/03 09:22:04
it just places the default icon then. sorry for the test. :)
It Wasn't Easy
#568 posted by
PuLSaR on 2005/02/03 15:12:52
I even thought it's impossible now, but after few attempts (I think preview button some kinda helped me to it, but I'm not sure).
The body is empty tags and spaces, title is just spaces
I think nobody will do that now, cuz it's not easy now and takes much more time.