From 734eb806bac336a473ade5120fdd5abef8006943 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 19 Jan 2011 23:50:24 +0200 Subject: [PATCH] Some hamlet6to7 fixes --- Yesod/Form/Jquery.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Yesod/Form/Jquery.hs b/Yesod/Form/Jquery.hs index 3401cc2b..a44414b6 100644 --- a/Yesod/Form/Jquery.hs +++ b/Yesod/Form/Jquery.hs @@ -94,7 +94,7 @@ jqueryDayFieldProfile jds = FieldProfile addScript' urlJqueryUiJs addStylesheet' urlJqueryUiCss addJulius [JULIUS| -$(function(){$("#%theId%").datepicker({ +$(function(){$("##{theId}").datepicker({ dateFormat:'yy-mm-dd', changeMonth:%jsBool.jdsChangeMonth.jds%, changeYear:%jsBool.jdsChangeYear.jds%, @@ -153,7 +153,7 @@ jqueryDayTimeFieldProfile = FieldProfile addScript' urlJqueryUiDateTimePicker addStylesheet' urlJqueryUiCss addJulius [JULIUS| -$(function(){$("#%theId%").datetimepicker({dateFormat : "yyyy/mm/dd h:MM TT"})}); +$(function(){$("##{theId}").datetimepicker({dateFormat : "yyyy/mm/dd h:MM TT"})}); |] } @@ -196,7 +196,7 @@ jqueryAutocompleteFieldProfile src = FieldProfile addScript' urlJqueryUiJs addStylesheet' urlJqueryUiCss addJulius [JULIUS| -$(function(){$("#%theId%").autocomplete({source:"@src@",minLength:2})}); +$(function(){$("##{theId}").autocomplete({source:"@src@",minLength:2})}); |] }