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:
Jonathan Bernard
2011-06-07 08:34:20 -05:00
parent 76083b5972
commit 89336e844f
7 changed files with 41 additions and 12 deletions

View File

@ -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]),