www/pwmgr.js
/* Archive an entry that the user has requested to be deleted. Saved the entry in
archive area where it can be permanently deleted or accessed for restoration. */
Archive an entry that the user has requested to be deleted. Saved the entry in
archive area where it can be permanently deleted or accessed for restoration.
Archive an entry that the user has requested to be deleted . Saved the entry in archive area where it can be permanently deleted or accessed for restoration .
function archiveOldEntry(obj) {
    var data = {}
    data.url = obj.o_url
    data.userid = obj.o_userid
    data.password = obj.o_password
    data.notes = obj.o_notes
    data.changed = obj.changed
    data.pwChanged = obj.pwChanged
    var timestamp = new Date().toISOString().replace(/[^0-9]/g,"")
    var path = obj.collectionid + HISTGROUP +"/"+
        obj.o_groupid +"|"+ obj.o_title +"|"+ timestamp.slice(0,14)
	console.log("Create archive entry: %s", path)
    vaultPostRequest(VPWMGR + path, data)
}
function archiveOldEntry ( obj ) { var data = { } data . url = obj . o_url data . userid = obj . o_userid data . password = obj . o_password data . notes = obj . o_notes data . changed = obj . changed data . pwChanged = obj . pwChanged var timestamp = new Date ( ) . toISOString ( ) . replace ( / [^0-9] / g , "" ) var path = obj . collectionid + HISTGROUP + "/" + obj . o_groupid + "|" + obj . o_title + "|" + timestamp . slice ( 0 , 14 ) console . log ( "Create archive entry: %s" , path ) vaultPostRequest ( VPWMGR + path , data ) }
Archive an entry that the user has requested to be deleted.
Archive an entry that the user has requested to be deleted .