Bugfix Batch
* Animations disabled on remote events, closing note still triggers animation for local user * Created save icons to fix display on mobile * Hidden URLs are hidden until note is deleted or URL is removed from note * Tags search all categories, but probably not trash * Back to all notes button clears search * Deleted Notes are removed from search index
This commit is contained in:
@@ -29,7 +29,7 @@ router.post('/get', function (req, res) {
|
||||
})
|
||||
|
||||
router.post('/delete', function (req, res) {
|
||||
Note.delete(userId, req.body.noteId)
|
||||
Note.delete(userId, req.body.noteId, masterKey)
|
||||
.then( data => res.send(data) )
|
||||
})
|
||||
|
||||
@@ -82,7 +82,7 @@ router.post('/setarchived', function (req, res) {
|
||||
})
|
||||
})
|
||||
router.post('/settrashed', function (req, res) {
|
||||
Note.setTrashed(userId, req.body.noteId, req.body.trashed)
|
||||
Note.setTrashed(userId, req.body.noteId, req.body.trashed, masterKey)
|
||||
.then( results => {
|
||||
res.send(results)
|
||||
})
|
||||
|
Reference in New Issue
Block a user