I am having some issues with Javascript which seems to only affect the Detail page.
Uncaught ReferenceError: SqueezeBox is not defined
Seems the error is caused by an attempt to initialize the squeezebox
Code
function joom_hover() {
jg_photo_hover = (jg_photo_hover==1) ? 0 : 1;
}document.onkeydown = joom_cursorchange;
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.modal').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
Alles anzeigen
Now, I am unbelievably bad in Javascript, so I assume he is missing some file, but there should be nothing on that page which should require Squeezebox to be used. Unfortunately, I have no idea what to do to deactivate this. Preventing to load the detail.js file from loading stops the error though it does prevent some other functionality on the detail page.
Any idea how to resolve this? This breaks the js on the page.