web: needed to escape literal dollar signs in hamlet templates
This commit is contained in:
parent
015dacb0d7
commit
fd22dde57b
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user