I'm having a problem with correctly displaying a K2 item when logged in. I'm using the following setup:
- Joomla 1.5.26
- K2 2.6.2
When I log into the frontend of the website the the K2 item displays the following code: ").attr("disabled", "disabled"); }); in the upper left corner. Check this URL for the example:
hostingvs.nl/testsites/gpswandelen/wandelingen/teleferico-del-teide/teleferico-del-teide-boca-tauc.html.
When I look at the sourcecode this code seems to be giving the problem:
<script type="text/javascript">
window.addEvent('domready', function() {
SqueezeBox.initialize({});
$$('a.modal').each(function(el) {
el.addEvent('click', function(e) {
new Event(e).stop();
SqueezeBox.fromElement(el);
});
});
});
var K2SitePath = '/testsites/gpswandelen/';
function c80c325c6b(address) {
document.location.href = 'mail'+'to:'+address;
}
$K2(document).ready(function() {
$K2("#userName").val("earg").attr("disabled", "disabled");
$K2("#commentEmail").val("<script>document.write(['dejanus','gmail.com'].join('@'))</script>").attr("disabled", "disabled"); });
</script>
I, however, don't know how to change this code or why this error is produced in the first place.
Hope someone can help!