Fill current tags and selection

This commit is contained in:
Matias De lellis
2019-11-11 20:58:35 -03:00
parent 3ce6b401bb
commit 68d82ef82e
2 changed files with 15 additions and 7 deletions

View File

@@ -615,9 +615,13 @@ View.prototype = {
// handle tags button.
$('#modal-note-div #tag-button').click(function (event) {
event.stopPropagation();
var id = $("#modal-note-div .quicknote").data('id');
self._notes.load(id);
QnDialogs.tags(
self._tags.getAll(),
self._notes.getActive().tags,
function(result, value) {
if (result === true && value) {
if (result === true) {
OC.Notification.showTemporary("TEST TAGS DIALOG OK");
}
else {