web: fix $ quoting

This commit is contained in:
Simon Michael 2012-01-03 10:46:39 +00:00
parent fd22dde57b
commit 7f60e3504c

View File

@ -391,10 +391,10 @@ $forall p <- tpostings t
-- the provided "TransactionsReportItem"s.
registerChartHtml items = [$hamlet|
<script type=text/javascript>
\ $(document).ready(function() {
\$(document).ready(function() {
/* render chart */
\ /* if ($('#register-chart')) */
\ $.plot($('#register-chart'),
/* if (\$('#register-chart')) */
\$.plot($('#register-chart'),
[
[
$forall i <- items
@ -676,7 +676,7 @@ searchform VD{..} = [$hamlet|
addform :: ViewData -> HtmlUrl AppRoute
addform vd@VD{..} = [$hamlet|
<script type=text/javascript>
\ $(document).ready(function() {
\$(document).ready(function() {
/* dhtmlxcombo setup */
window.dhx_globalImgPath="../static/";
var desccombo = new dhtmlXCombo("description");