https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39209

--- Comment #7 from Katrin Fischer <[email protected]> ---
(In reply to Marcel de Rooy from comment #5)
> -        document.querySelector('body').setAttribute('tabindex', '-1');
> -        document.querySelector('body').focus();
> -        document.querySelector('body').removeAttribute('tabindex');
> +        document.querySelector("body").setAttribute("tabindex", "-1");
> +        document.querySelector("body").focus();
> +        document.querySelector("body").removeAttribute("tabindex");
> 
> Also replacing single quotes here. Do we really want that ?

I believe we had some bits where we replaced with double quotes because of a
security risk. And for translatable strings there also used to be a coding
guideline, so for example French users don't break JS when using ' in their
translations. 

Do you see an issue with the change?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to