Implemented new timeline functionality client-side.
* Fixed returned information in ts_api:put_timeline/3 * Added UI for new timeline button. * Added client-side implementation of new timeline creation. There is a problem on the server-side, PUT should support creating new items and updating existing items.
This commit is contained in:
1 parent
76083b5972
commit
89336e844f
7 files changed
+41
-12
No files matched your search
+1
-1
@@ -321,7 +321,7 @@ put_timeline(YArg, Username, TimelineId) ->
|
||||
|
||||
no_record -> make_json_404(YArg,
|
||||
[{error, "no such timeline"},
|
||||
{see_docs, "/ts_api_doc/timelines.html#POST"}]);
|
||||
{see_docs, "/ts_api_doc/timelines.html#PUT"}]);
|
||||
|
||||
Error ->
|
||||
error_logger:error_report("Unable update timeline: ~p", [Error]),
|
||||
|
||||
Reference in new issue
Block a user