parent
196224d0b8
commit
4cc6014581
@ -1420,10 +1420,10 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
right: 0%;
|
right: 0%;
|
||||||
}
|
}
|
||||||
.master-note-edit.position-1.full-focus {
|
/* .master-note-edit.position-1.full-focus {
|
||||||
left: 20%;
|
left: 20%;
|
||||||
right: 20%;
|
right: 20%;
|
||||||
}
|
}*/
|
||||||
.master-note-edit.position-2 {
|
.master-note-edit.position-2 {
|
||||||
left: 0%;
|
left: 0%;
|
||||||
right: 50%;
|
right: 50%;
|
||||||
|
@ -202,6 +202,10 @@ Note.update = (io, userId, noteId, noteText, noteTitle, color, pinned, archived,
|
|||||||
//Encrypt note text if proper data is setup
|
//Encrypt note text if proper data is setup
|
||||||
if(password.length > 3 && salt.length > 1000){
|
if(password.length > 3 && salt.length > 1000){
|
||||||
noteText = cs.encrypt(password, salt, noteText)
|
noteText = cs.encrypt(password, salt, noteText)
|
||||||
|
|
||||||
|
//
|
||||||
|
// @TODO - Do note save data if encryption goes wrong, do some validation
|
||||||
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
//Update Note text
|
//Update Note text
|
||||||
|
Loading…
Reference in New Issue
Block a user