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.
 | 
					-- the provided "TransactionsReportItem"s.
 | 
				
			||||||
registerChartHtml items = [$hamlet|
 | 
					registerChartHtml items = [$hamlet|
 | 
				
			||||||
<script type=text/javascript>
 | 
					<script type=text/javascript>
 | 
				
			||||||
  $(document).ready(function() {
 | 
					\  $(document).ready(function() {
 | 
				
			||||||
    /* render chart */
 | 
					    /* render chart */
 | 
				
			||||||
    /* if ($('#register-chart')) */
 | 
					\    /* if ($('#register-chart')) */
 | 
				
			||||||
      $.plot($('#register-chart'),
 | 
					\      $.plot($('#register-chart'),
 | 
				
			||||||
             [
 | 
					             [
 | 
				
			||||||
              [
 | 
					              [
 | 
				
			||||||
               $forall i <- items
 | 
					               $forall i <- items
 | 
				
			||||||
@ -676,7 +676,7 @@ searchform VD{..} = [$hamlet|
 | 
				
			|||||||
addform :: ViewData -> HtmlUrl AppRoute
 | 
					addform :: ViewData -> HtmlUrl AppRoute
 | 
				
			||||||
addform vd@VD{..} = [$hamlet|
 | 
					addform vd@VD{..} = [$hamlet|
 | 
				
			||||||
<script type=text/javascript>
 | 
					<script type=text/javascript>
 | 
				
			||||||
 $(document).ready(function() {
 | 
					\ $(document).ready(function() {
 | 
				
			||||||
    /* dhtmlxcombo setup */
 | 
					    /* dhtmlxcombo setup */
 | 
				
			||||||
    window.dhx_globalImgPath="../static/";
 | 
					    window.dhx_globalImgPath="../static/";
 | 
				
			||||||
    var desccombo  = new dhtmlXCombo("description");
 | 
					    var desccombo  = new dhtmlXCombo("description");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user