Fixed mass tag

This commit is contained in:
Marcin Kurczewski 2014-11-28 23:18:23 +01:00
parent 4b27b8a85d
commit 728d1d65de

View file

@ -219,7 +219,7 @@ App.Presenters.PostListPresenter = function(
var formData = {}; var formData = {};
formData.seenEditTime = post.lastEditTime; formData.seenEditTime = post.lastEditTime;
formData.tags = tags.join(' '); formData.tags = tags.join(' ');
promise.wait(api.put('/posts/' + post.id, formData)) promise.wait(api.post('/posts/' + post.id, formData))
.then(function(response) { .then(function(response) {
post = response.json; post = response.json;
$post.data('post', post); $post.data('post', post);