hello, I'm having a problem trying to get working those 2 plugins together: Localisation (for translating the javascript) and facebox (everyone knows that one right?)
I can make them work separately without any problem, but when the localisation plugin is loaded and I clic on a link that launches a facebox modal, the ajax request start, the facebox modal window shows up (with the loading gif) and directly the request is aborted (URL turns red and the word "aborted" appears, in firebug)
In firefox's error consol it says: "setting a property that has only a getter" and points to the file: jquery-1.4.min.js, line 126 (I've checked, and it gives the same error with jquery 1.3.2)
And here is my code:
$(document).ready(function() {
$.localise('idioma', {language: AmigoPoints.lang, path: AmigoPoints.baseHref + '/public/js/jquery/'});
//añadir /format/html/ a los href para que sea AJAX para ZF
$('a[rel*=facebox]').each(function() {
this.href += '/format/html';
})
// inicializa el plug-in que lanza nuevos links en ventanas modales
jQuery('a[rel*=facebox]').facebox();
})
Since the error is in the jquery file, I don't know where to look to try to solve this issue: I suppose that the error is in my code, but I can't see it. Any thougts anyone?