ganglia/ganglia-web — pull request #119 by dalaro (2012-08-01 23:41:44+00:00)
Title: Avoid 404 error in issue #61

This is for issue ganglia/ganglia-web issue #61.

The form action associated with the live-search box doesn't exist. To
avoid a spurious 404, this change intercepts and throws away keypress
events with code 13 (enter) sent to the live-search box.

There might be a better use for the enter key in the live-search box than
simply throwing it away. But suppressing it is better than a 404.

Thanks to maplebed and MediaWiki's landingpage.js.