笔记本数量, contextmenu

This commit is contained in:
life
2015-03-01 23:03:21 +08:00
parent 1f03f3b710
commit e00a35a845
12 changed files with 54 additions and 19 deletions

4
node_modules/tag.js generated vendored
View File

@@ -82,9 +82,9 @@ var Tag = {
updateTagCount: function(title, count) {
userId = User.getCurActiveUserId();
// 更新Tag's Count
Tags.update({UserId: userId, Tag: title}, {$set: {Count: cnt}});
Tags.update({UserId: userId, Tag: title}, {$set: {Count: count}});
// 更新web
Web.updateTagCount({Tag: title, Count: cnt});
Web.updateTagCount({Tag: title, Count: count});
},
getTag: function(title, callback) {