add tags from drive

This commit is contained in:
ansuz
2017-10-05 16:58:34 +02:00
parent 1f35798194
commit d85db64939
6 changed files with 39 additions and 13 deletions

View File

@@ -401,7 +401,7 @@ define([
});
sframeChan.on('Q_TAGS_GET', function (data, cb) {
Cryptpad.getPadTags(null, function (err, data) {
Cryptpad.getPadTags(data, function (err, data) {
cb({
error: err,
data: data
@@ -410,8 +410,7 @@ define([
});
sframeChan.on('EV_TAGS_SET', function (data) {
console.log(data);
Cryptpad.resetTags(null, data);
Cryptpad.resetTags(data.href, data.tags);
});
sframeChan.on('Q_PIN_GET_USAGE', function (data, cb) {