Opened 2 years ago
Closed 2 years ago
#3127 closed Enhancement (fixed)
Normalize JS elgg.action() return
| Reported by: | brettp | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Elgg 1.8.0 |
| Component: | JavaScript | Version: | Github Master |
| Severity: | minor | Keywords: | |
| Cc: | brett@… | Difficulty: | trivial |
Description
There are a few fields that are expected and might be useful to have normalized to null to avoid JS boilerplate code or exceptions:
- output
- system_messages
- json
This could be done on either the PHP or the JS side.
Attachments (1)
Change History (3)
comment:1 Changed 2 years ago by cash
- Component changed from Core to JavaScript
Changed 2 years ago by invi
comment:2 Changed 2 years ago by brettp
- Resolution set to fixed
- Status changed from new to closed
(In [svn:9039]) Fixes #3127. Normalizing the json returned by the ajax action handler. Doing this in PHP.
Note: See
TracTickets for help on using
tickets.

Normalizes output key value to null.