NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item10587: New jquery gives error when accessing meta variable
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Extension |
JQueryPlugin |
|
(I think because of the inclusion of
SizzleJs) jQuery 1.5+ doesn't like
var metaVal = $("meta[name=foswiki."+key+"]").attr("content");
The error results in blocked javascript.
The solution is to use quotes:
var metaVal = $("meta[name=\"foswiki."+key+"\"]").attr("content");
--
ArthurClemens - 03 Apr 2011
I have also made some improvements after running jslint.
--
ArthurClemens - 03 Apr 2011