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
Summary | New jquery gives error when accessing meta variable |
ReportedBy | ArthurClemens |
Codebase | 1.1.3 beta1, trunk |
SVN Range | |
AppliesTo | Extension |
Component | JQueryPlugin |
Priority | Normal |
CurrentState | Closed |
WaitingFor | |
Checkins | distro:1b49515c5145 distro:22f243321333 |
TargetRelease | patch |
ReleasedIn | n/a |