Open Bug 1398923 Opened 2 years ago Updated 2 years ago

Migrate static sample code in /samples/domref/dispatch.html to be "live"


(Developer Documentation :: JavaScript, enhancement, P5)



(Not tracked)



(Reporter: chancesmithb, Unassigned)


(Blocks 1 open bug, )


:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: Trunk
 Technical Contact: 

:: Details

Link to event.preventDefault ( goes to 404
Hi @Reporter,
Can you please add more details like on which page did you find this broken link?
Flags: needinfo?(chancesmithb)
The page containing the broken link is listed in the URL field. It's a page of sample code using these methods, which in turn is linked from 

The problem is that the sample code page uses very old paths in its links, from back when MDN had a different URL scheme. Some of these links are resolved, and some are not. The link in question should be:

Similarly, should be

and should be with link text "About MDN web docs"
Flags: needinfo?(chancesmithb)
Summary: Bad link → Bad links in sample code page
This sample code needs to be migrated to be one of the types of example code that we currently support and can maintain:
Blocks: 1076893
Summary: Bad links in sample code page → Migrate static sample code in /samples/domref/dispatch.html to be "live"
You need to log in before you can comment on or make changes to this bug.