WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#12551 closed defect (bug) (fixed)

Link Relationship (XFN) link_rel text field entry blocked

Reported by: farinspace Owned by: azaozz
Milestone: 3.0 Priority: low
Severity: minor Version: 2.9.2
Component: JavaScript Keywords: xfn link_rel rel link has-patch
Focuses: Cc:

Description

The "rel" input field (link_rel) alone denotes the possibility of user defined text entry. But any kind of entry appears to be impossible, there is some sort of JS that blocks any kind of manual text entry into this box (a user is unable to type something in the input field). I've tested this on IE, FF, and Chrome ... all same results, its definitely something with wordpress.

Attachments (1)

xfn.dev.js (715 bytes) - added by rmccue 4 years ago.
Use jQuery, and add readonly to the main input

Download all attachments as: .zip

Change History (5)

comment:1 nacin4 years ago

  • Component changed from UI to JavaScript
  • Milestone changed from 2.9.3 to 3.0
  • Owner set to azaozz
  • Priority changed from high to low
  • Severity changed from major to minor

The field is designed to be populated by the various helper inputs below it.

We should probably simply make it readonly=readonly when JS, that way it doesn't allow you to type into it at all.

rmccue4 years ago

Use jQuery, and add readonly to the main input

comment:2 rmccue4 years ago

  • Keywords has-patch added

comment:3 rmccue4 years ago

  • Keywords changed from xfn, link_rel, rel link, has-patch to xfn link_rel rel link has-patch

Remove pesky commas from the keywords.

comment:4 nacin4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13984]) Convert xfn.js to jQuery. Make the calculated field readonly if js. props rmccue. fixes #12551

Note: See TracTickets for help on using tickets.