in reply to Hey rocky, watch me pull time out of my hat...

I might try to submit a patch for this once I get setup with e2. But the idea being that the same functionality can be acheived without moving the nodelet. Since as far as I can tell all forms (on note, perlquestion, etc. types) have their action set to the workhorse index.pl and method=POST we can make the whole page live in one form. It seems index.pl is already setup to act based upon "op", and instead of it being a hidden field the submit buttons could simply posess this name. There might be some other issues with other hidden fields e.g. different nodelets having fields w/ the same name but different values but I've seen nothing yet. Added bonus for simplifying the HTML. Just think, chat, vote, and approve in one fell swoop :-D. Actually though one must explicitly look for combined actions, so potentially confusing combinations need not be supported. In fact probably only approval needs to be processed when vote or submit (from a reply) is hit. Of course this would mean sending some unused data if you don't do everything everytime, very little though. Oh know it all sounds rather complicated but there really isn't much of anything to it.

This is just one way of implementing it (instead of the much easier wholesale movement of the approval nodelet) since there are some who would not like to see special cases for display brought into the body nodes themselves. Which is more favorable?

--
perl -pe "s/\b;([st])/'\1/mg"

  • Comment on Re: Hey rocky, watch me pull time out of my hat...