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