Commit a13626b0 authored by pmk65's avatar pmk65

Fix of Bug #10755. - Setting FlashVar options on the REL attribute doesn't work.

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pmkshadowbox/trunk@41016 735d13b6-9817-0410-8766-e36946ffe9aa
parent 4d35e5ae
...@@ -789,8 +789,14 @@ S.makeObject = function(link, options) { ...@@ -789,8 +789,14 @@ S.makeObject = function(link, options) {
// extract any other parameters // extract any other parameters
each(rel.split(';'), function(i, p) { each(rel.split(';'), function(i, p) {
match = p.match(inlineParam); match = p.match(inlineParam);
if (match) if (match) {
if (match[1]=='options') {
obj[match[1]] = eval( '('+ match[2] +')' );
}
else {
obj[match[1]] = match[2]; obj[match[1]] = match[2];
}
}
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment