Make WordPress Core

Changeset 36260 for trunk


Ignore:
Timestamp:
01/11/2016 01:14:18 PM (11 years ago)
Author:
afercia
Message:

Quick Edit: on the Taxonomies screens, prevent a page reload when pressing Enter on a focused field.

Fixes #35401 for trunk.

Location:
trunk/src/wp-admin/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/inline-edit-post.js

    r35567 r36260  
    285285                        },
    286286                'html');
     287                // Prevent submitting the form when pressing Enter on a focused field.
    287288                return false;
    288289        },
  • trunk/src/wp-admin/js/inline-edit-tax.js

    r35605 r36260  
    138138                        }
    139139                );
     140                // Prevent submitting the form when pressing Enter on a focused field.
     141                return false;
    140142        },
    141143
Note: See TracChangeset for help on using the changeset viewer.