update for new db models/marshmallow object
This commit is contained in:
@@ -377,7 +377,7 @@ function RemoveOverrideForceMatch(face_pos)
|
||||
else
|
||||
who=document.viewing.file_details.faces[face_pos].refimg.person.tag
|
||||
|
||||
d='&face_id='+document.viewing.file_details.faces[face_pos].id+'&person_tag='+who+'&file_eid='+current
|
||||
d='&face_id='+document.viewing.file_details.faces[face_pos].id+'&person_tag='+document.viewing.file_details.faces[face_pos].refimg.person.tag+'&file_eid='+document.viewing.id
|
||||
$.ajax({ type: 'POST', data: d, url: '/remove_force_match_override',
|
||||
success: function(data) {
|
||||
delete document.viewing.file_details.faces[face_pos].override
|
||||
@@ -547,7 +547,7 @@ function FaceDBox(key, item)
|
||||
// pops results up in a dbox
|
||||
function JoblogSearch()
|
||||
{
|
||||
data="eid="+current
|
||||
data="eid="+document.viewing.id
|
||||
$.ajax({ type: 'POST', data: data, url: '/joblog_search', success: function(res) {
|
||||
data = JSON.parse(res)
|
||||
div ='<div><table class="table table-striped table-sm sm-txt">'
|
||||
|
||||
Reference in New Issue
Block a user