Avoiding bad links April 1, 2006 3:15 PM   Subscribe

In the comment box, after clicking the link icon (or Ctrl-Shift-A), and pressing the Escape button, it shouldn't insert a "null" link, but just cancel adding the link.
posted by Sharcho to Bugs at 3:15 PM (13 comments total)

In http://www.metafilter.com/scripts/comments.js after the line:
var userInput = prompt("Please enter the site you'd like to link", "http://");
you should add:
if (userInput == null) { return false; }
or something like that
posted by Sharcho at 3:17 PM on April 1, 2006


APRIL FOOLS!
posted by Eideteker at 3:20 PM on April 1, 2006


HA HA HA, I GET IT NOW. TODAY IS APRIL FOOLS DAY!!
posted by TwelveTwo at 3:46 PM on April 1, 2006


Did you guys hear something?
posted by Gator at 3:48 PM on April 1, 2006


I support this feature. I often find myself accidently hitting link when I meant to hit italics or something, and then having to go delete the broken HTML code.
posted by loquacious at 4:19 PM on April 1, 2006


I, for one, support null links.
posted by null terminated at 4:30 PM on April 1, 2006


No, it shouldn't. Sometimes I like to cut-and-paste text first, and then paste in the link, or something like that. So yeah. Don't change it.
posted by Citizen Premier at 7:06 PM on April 1, 2006


Citizen Premier, this only affects the Escape key. You can continue to do that if you press Enter instead of Escape.
posted by Sharcho at 7:14 PM on April 1, 2006


oh... well then, carry on.
posted by Citizen Premier at 7:21 PM on April 1, 2006


there no room on metafilter for fun.
posted by crunchland at 4:31 AM on April 2, 2006


But is there room for.....SCIENCE????
posted by CunningLinguist at 11:24 AM on April 2, 2006


What I meant to say was... APRIL FOOLS!
posted by Citizen Premier at 9:09 PM on April 2, 2006


Similarly, clicking 'cancel' in that dialouge box ought to cancel the action instead of inserting a 'null' link.
posted by raedyn at 8:55 AM on April 3, 2006


« Older megnut marries   |   Is there no room on metafilter for fun? Newer »

You are not logged in, either login or create an account to post comments