Minor fixes needed for last_timeline to work.
* Added route back for PUT /ts_api/user/<username> * Fixed typo in ``ts_api:put_user/2``. * Fixed incorrect expected return from ``ts_ext_data:set_property/3``. * Added missing assignment for ``ts_user.email`` in the appropriate ``ts_json:construct_record/3`` clause. * Fixed model attribute assignment in ``ts.js``.
This commit is contained in:
@ -559,7 +559,7 @@ $(document).ready(function(){
|
||||
this.entries.collection.timeline = tl;
|
||||
|
||||
// update the last_timeline field of the user model
|
||||
this.user.model.set('last_timeline', tl.get('id');
|
||||
this.user.model.set({last_timeline: tl.get('id')});
|
||||
this.user.model.save();
|
||||
|
||||
// refresh TimelineListView
|
||||
|
Reference in New Issue
Block a user