change where we check for web_animate_thumbs
parent
ff4b0e6309
commit
28614ce703
|
@ -11,10 +11,12 @@ function thumbnail_onmouseout(event) {
|
|||
}
|
||||
|
||||
function initThumbAnimation() {
|
||||
$j('.colThumbnail img').each(function() {
|
||||
this.addEventListener('mouseover', thumbnail_onmouseover, false);
|
||||
this.addEventListener('mouseout', thumbnail_onmouseout, false);
|
||||
});
|
||||
if ( WEB_ANIMATE_THUMBS ) {
|
||||
$j('.colThumbnail img').each(function() {
|
||||
this.addEventListener('mouseover', thumbnail_onmouseover, false);
|
||||
this.addEventListener('mouseout', thumbnail_onmouseout, false);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function setButtonStates( element ) {
|
||||
|
@ -204,7 +206,7 @@ function initPage() {
|
|||
} );
|
||||
|
||||
// Setup the thumbnail video animation
|
||||
if ( WEB_ANIMATE_THUMBS ) initThumbAnimation();
|
||||
initThumbAnimation();
|
||||
|
||||
$j('.functionLnk').click(manageFunctionModal);
|
||||
} // end function initPage
|
||||
|
|
|
@ -87,10 +87,12 @@ function thumbnail_onmouseout(event) {
|
|||
}
|
||||
|
||||
function initThumbAnimation() {
|
||||
$j('.colThumbnail img').each(function() {
|
||||
this.addEventListener('mouseover', thumbnail_onmouseover, false);
|
||||
this.addEventListener('mouseout', thumbnail_onmouseout, false);
|
||||
});
|
||||
if ( WEB_ANIMATE_THUMBS ) {
|
||||
$j('.colThumbnail img').each(function() {
|
||||
this.addEventListener('mouseover', thumbnail_onmouseover, false);
|
||||
this.addEventListener('mouseout', thumbnail_onmouseout, false);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Returns the event id's of the selected rows
|
||||
|
@ -195,7 +197,7 @@ function initPage() {
|
|||
backBtn.prop('disabled', !document.referrer.length);
|
||||
|
||||
// Setup the thumbnail video animation
|
||||
if ( WEB_ANIMATE_THUMBS ) initThumbAnimation();
|
||||
initThumbAnimation();
|
||||
|
||||
// Some toolbar events break the thumbnail animation, so re-init eventlistener
|
||||
table.on('all.bs.table', initThumbAnimation);
|
||||
|
|
|
@ -39,10 +39,12 @@ function thumbnail_onmouseout(event) {
|
|||
}
|
||||
|
||||
function initThumbAnimation() {
|
||||
$j('.colThumbnail img').each(function() {
|
||||
this.addEventListener('mouseover', thumbnail_onmouseover, false);
|
||||
this.addEventListener('mouseout', thumbnail_onmouseout, false);
|
||||
});
|
||||
if ( WEB_ANIMATE_THUMBS ) {
|
||||
$j('.colThumbnail img').each(function() {
|
||||
this.addEventListener('mouseover', thumbnail_onmouseover, false);
|
||||
this.addEventListener('mouseout', thumbnail_onmouseout, false);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function processClicks(event, field, value, row, $element) {
|
||||
|
@ -82,7 +84,7 @@ function initPage() {
|
|||
backBtn.prop('disabled', !document.referrer.length);
|
||||
|
||||
// Setup the thumbnail animation
|
||||
if ( WEB_ANIMATE_THUMBS ) initThumbAnimation();
|
||||
initThumbAnimation();
|
||||
|
||||
// Some toolbar events break the thumbnail animation, so re-init eventlistener
|
||||
table.on('all.bs.table', initThumbAnimation);
|
||||
|
|
Loading…
Reference in New Issue