You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Review all json responses to standardize the returned objects.
Currently, most of them return a json object with a message only. We could replace it by the object that was created/updated or by an empty object in actions that destroy the objects.
Returning the object is useful when updating it via json, like is done when jEditable is used. In an update, for example, it expects the object to be returned so that it can confirm that the new value of the attribute it tried to set was actually set.
The text was updated successfully, but these errors were encountered:
Author Name: Leonardo Daronco (Leonardo Daronco)
Original Redmine Issue: 633, http://dev.mconf.org/redmine/issues/633
Original Date: 2013-03-12
Review all json responses to standardize the returned objects.
Currently, most of them return a json object with a message only. We could replace it by the object that was created/updated or by an empty object in actions that destroy the objects.
Returning the object is useful when updating it via json, like is done when jEditable is used. In an update, for example, it expects the object to be returned so that it can confirm that the new value of the attribute it tried to set was actually set.
The text was updated successfully, but these errors were encountered: