Opened 20 years ago
Closed 20 years ago
#2672 closed defect (bug) (fixed)
JS error when editing post for Contributors
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.1 | Priority: | normal |
| Severity: | trivial | Version: | 2.1 |
| Component: | Administration | Keywords: | js bg|has-patch bg|commit |
| Focuses: | Cc: |
Description
On the edit post screen, there are two things which use the list manipulation JS: on the fly category addition and custom fields.
Currently, the JS is only included if ( current_user_can('manage_categories') ), so a user who can't will get a JS error when the custom fields JS runs.
Trivial patch attached.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [3735]) Always load list manip js when editing. Props mdawaffe. fixes #2672