fixed BUG-54/55, viewer now works in PROD, current_file being set in run_ai_on job, added "new" bug-53 re video fname not being set properly when next/prev in viewer
This commit is contained in:
@@ -153,7 +153,7 @@ function ViewImageOrVideo()
|
||||
{
|
||||
if( objs[current].type == 'Image' )
|
||||
{
|
||||
im.src='http://mara.ddp.net:5000/' + objs[current].url
|
||||
im.src='../' + objs[current].url
|
||||
$('#video').hide()
|
||||
$('#vid-caption').hide()
|
||||
$('#figure').show()
|
||||
@@ -162,7 +162,7 @@ function ViewImageOrVideo()
|
||||
}
|
||||
if( objs[current].type == 'Video' )
|
||||
{
|
||||
$('#video').prop('src', 'http://mara.ddp.net:5000/' + objs[current].url )
|
||||
$('#video').prop('src', '../' + objs[current].url )
|
||||
$('#figure').hide()
|
||||
$('#video').show()
|
||||
$('#vid-caption').show()
|
||||
|
||||
Reference in New Issue
Block a user