yanno
18 Jun 2007, 7:45 AM
When using a template, I get an error that I narrowed down to the quoting in the template. The error I get (in Firefox 2.0.0.4 on Mac OSX, using Firebug) is this:
missing ; before statement:
" : values['identifier'])+') <a href="javascript:void(0)" onclick="App.currentTab..." ... in ext-all.js (line 11)
The surrounding template code is this:
"...<span class="emphasize">{last_name}</span> ({identifier}) <a href="javascript:void(0)" onclick="App.currentTabForObject('person', {id})">View..."
The problem only shows up when I have a set of quotes inside of another set of quotes, like the 'person' inside of the quoted onclick value. If I switch the quote types, I get the same error. If I try to escape the same quote types, I get a different error. Is it possible to get the quoting algorithm fixed to allow for at least embedded quoting?
missing ; before statement:
" : values['identifier'])+') <a href="javascript:void(0)" onclick="App.currentTab..." ... in ext-all.js (line 11)
The surrounding template code is this:
"...<span class="emphasize">{last_name}</span> ({identifier}) <a href="javascript:void(0)" onclick="App.currentTabForObject('person', {id})">View..."
The problem only shows up when I have a set of quotes inside of another set of quotes, like the 'person' inside of the quoted onclick value. If I switch the quote types, I get the same error. If I try to escape the same quote types, I get a different error. Is it possible to get the quoting algorithm fixed to allow for at least embedded quoting?