From: ivan Date: Sun, 26 Jul 2009 19:36:08 +0000 (+0000) Subject: fix the date picker in RT to use jscalendar instead of an HTML popup (that had acquir... X-Git-Tag: root_of_svc_elec_features~977 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f83f9129cc2e67d20ef0d512cce9f0b327e26052 fix the date picker in RT to use jscalendar instead of an HTML popup (that had acquired the page header, eek), RT#1682 --- diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index dc5e2bc2a..e82078992 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -12,6 +12,7 @@ lib/RT/URI/freeside/XMLRPC.pm html/Elements/Menu html/Elements/PageLayout html/Elements/QuickCreate + html/Elements/SelectDate html/Elements/SimpleSearch html/Elements/Tabs html/Elements/Footer diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 3210b4e3e..b9d15e9d3 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -127,6 +127,7 @@ a:visited:hover.fsdarkbutton { filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff330033',EndColorStr='#ff7e0079') } +<% include('/elements/init_calendar.html') |n %>
diff --git a/rt/html/Elements/SelectDate b/rt/html/Elements/SelectDate index b43f324ac..23df246ce 100644 --- a/rt/html/Elements/SelectDate +++ b/rt/html/Elements/SelectDate @@ -45,10 +45,21 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} +%# in PageLayout instead, once <% include('/elements/init_calendar.html') |n %> + + - <%init> unless ((defined $Default) or ($current <= 0)) {