|
@@ -8,14 +8,12 @@ $(function() {
|
|
|
"4"; // end of Firefox fix
|
|
|
|
|
|
|
|
|
- /* Make sure that the ENTER button doesn't submit the form */
|
|
|
- $(document).ready(function() {
|
|
|
- $(window).keydown(function(event){
|
|
|
- if(event.keyCode == 13) {
|
|
|
- event.preventDefault();
|
|
|
- return false;
|
|
|
- }
|
|
|
- });
|
|
|
+ /* Prevent pressing ENTER on Project Title from submitting the form */
|
|
|
+ $('.proj_title').keydown(function(event){
|
|
|
+ if(event.keyCode == 13) {
|
|
|
+ event.preventDefault();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
|