Added non-caching tail onto image retrieval.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@881 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
9a33ab5e2e
commit
1f28c1b861
|
@ -75,8 +75,9 @@ function fetchImage()
|
|||
{
|
||||
window.parent.MontageFetch<?= $monitor['Id'] ?>.location.reload( true );
|
||||
|
||||
zm_image = new Image();
|
||||
zm_image.src = '<?= ZM_DIR_IMAGES.'/'.$monitor['Name'] ?>.jpg';
|
||||
var now = new Date();
|
||||
var zm_image = new Image();
|
||||
zm_image.src = '<?= ZM_DIR_IMAGES.'/'.$monitor['Name'] ?>.jpg?'+now.getTime();
|
||||
|
||||
document['zmImage'].src = zm_image.src;
|
||||
}
|
||||
|
|
|
@ -72,8 +72,9 @@ function fetchImage()
|
|||
{
|
||||
window.parent.MonitorFetch<?= $monitor['Id'] ?>.location.reload( true );
|
||||
|
||||
zm_image = new Image();
|
||||
zm_image.src = '<?= ZM_DIR_IMAGES.'/'.$monitor['Name'] ?>.jpg';
|
||||
var now = new Date();
|
||||
var zm_image = new Image();
|
||||
zm_image.src = '<?= ZM_DIR_IMAGES.'/'.$monitor['Name'] ?>.jpg?'+now.getTime();
|
||||
|
||||
document['zmImage'].src = zm_image.src;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue