Hi,
I meet the same problem. Add I found "jsgantt.js" run error when you choose
Format day.
The cause is jsgantt can't dispose vScrollDate = null.
So we need set trac-jsgantt's option.scrollto, such as:
[trac-jsgantt]
option.scrollto = today
On Tuesday, April 23, 2013 2:54:10 AM UTC+8, Mark Maciolek wrote:
>
> hi,
>
> When using the jsgantt and viewing a milestone, I can see the Format for
> Week, Month, Qtr display properly.
>
> When I choose the Format day nothing changes in the view it stays showing
> the last Format I chose.
>
> Where in the trac.ini is this Format setup?
>
>
> Here is my trac.ini
>
> {{{
>
> # -*- coding: utf-8 -*-
>
> [TracPM]
> blocking = text
> blocking.label = Blocking
> complete = select
> complete.label = % Complete
> complete.options =
> 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100
> complete.order = 3
> date_format = %m/%d/%Y
> days_per_estimate = 0.125
> default_estimate = 4.0
> due_assign = text
> due_assign.label = Start (MM/DD/YYYY)
> due_assign.order = 1
> due_close = text
> due_close.label = End (MM/DD/YYYY)
> due_close.order = 2
> estimate_pad = 0.0
> estimatedhours = text
> estimatedhours.label = Estimated Number of Hours
> estimatedhours.order = 1
> estimatedhours.value = 0
> fields.estimate = estimatedhours
> fields.finish = due_close
> fields.parent = parents
> fields.pred = blockedby
> fields.start = due_assign
> fields.succ = blocking
> fields.worked = totalhours
> goal_ticket_type = milestone
> hours = text
> hours.label = Add Hours to Ticket
> hours.order = 2
> hours.value = 0
> hours_per_estimate = 1
> loe = select
> loe.label = Estimate of Effort
> loe.options = low|medium|high
> loe.value = low
> parent_format = %s
> parents = text
> parents.label = Parent Tickets
> prim_developer = select
> prim_developer.label = Primary Developer
> prim_developer.options =
> na|allison|aracicot|chander|gcorradini|pmc2|rfsl|winkey
> test_desc = textarea
> test_desc.cols = 80
> test_desc.format = wiki
> test_desc.label = Testing Instructions
> test_desc.rows = 10
> totalhours = text
> totalhours.label = Total Hours
> totalhours.order = 4
> totalhours.value = 0
>
> [account-manager]
> authentication_url =
> db_htdigest_realm =
> force_passwd_change = true
> hash_method = HtDigestHashMethod
> htdigest_realm =
> htpasswd_file = /data1/trac/conf/passwd.conf
> htpasswd_hash_type = crypt
> password_file = /data1/trac/conf/passwd.conf
> password_format = htpasswd
> password_store = HtPasswdStore
> persistent_sessions = False
> refresh_passwd = False
> user_lock_max_time = 86400
> verify_email = true
>
> [attachment]
> max_size = 157286400
> render_unsafe_content = false
>
> [browser]
> downloadable_paths = /trunk, /branches/*, /tags/*
> hide_properties = svk:merge
> render_unsafe_content = false
>
> [changeset]
> max_diff_bytes = 10000000
> max_diff_files = 0
> wiki_format_messages = true
>
> [components]
> acct_mgr.htfile.htdigeststore = disabled
> cmtekniktheme.* = enabled
> crystalxtheme.* = enabled
> githubsimple.* = enabled
> mastertickets.* = enabled
> skittlishtheme.* = enabled
> themeengine.* = enabled
> themeengine.admin.themeadminmodule = enabled
> themeengine.api.themeenginesystem = enabled
> themeengine.web_ui.themeenginemodule = enabled
> timingandestimationplugin.* = enabled
> trac.web.auth.loginmodule = disabled
> tracjsgantt.* = enabled
> tracjsgantt.tracjsgantt.tracjsganttchart = enabled
> tracjsgantt.tracjsgantt.tracjsganttsupport = enabled
> tracjsgantt.tracpm.projectsorter = enabled
> tracjsgantt.tracpm.resourcescheduler = enabled
> tracjsgantt.tracpm.simplecalendar = enabled
> tracjsgantt.tracpm.simplesorter = enabled
> tracjsgantt.tracpm.ticketrescheduler = disabled
> tracjsgantt.tracpm.tracpm = enabled
> tracopt.versioncontrol.git.* = enabled
> tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled
> tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer =
> enabled
> tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer =
> enabled
> tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled
> tracsubtickets.api.* = enabled
> tracsubtickets.web_ui.* = enabled
>
> [githubsimple]
> browser = http://github.com/noaaerma/erma/commit/
> suppress_changesets = true
>
> [header_logo]
> alt = ERMA TRAC Site
> height = -1
> link = https://erma-trac.sr.unh.edu/
> src = common/trac_banner.png
> width = -1
>
> [logging]
> log_file = /data1/trac/logs/trac.log
> log_level = ERROR
> log_type = file
>
> [mimeviewer]
> enscript_modes = text/x-dylan:dylan:4
> enscript_path = enscript
> max_preview_size = 262124
> mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
> php_path = php
> silvercity_modes =
> tab_width = 8
>
> [notification]
> always_notify_owner = true
> always_notify_reporter = true
> always_notify_updater = true
> mime_encoding = base64
> smtp_always_bcc =
> smtp_always_cc =
> smtp_default_domain =
> smtp_enabled = true
> smtp_from = [email protected] <javascript:>
> smtp_password =
> smtp_port = 25
> smtp_replyto = [email protected] <javascript:>
> smtp_server = localhost
> smtp_subject_prefix = __default__
> smtp_user =
> use_public_cc = false
> use_short_addr = false
> use_tls = false
>
> [project]
> descr = ERMA Development Site
> footer = Visit the Trac open source project at<br /><a href="
> http://trac.edgewall.org/">http://trac.edgewall.org/</a>
> icon = common/trac.ico
> name = ERMA
> url = http://erma-dev.sr.unh.edu./
>
> [repositories]
> repository_dir =
> repository_type = git
>
> [search]
> min_query_length = 3
>
> [theme]
> theme = CMTeknik
>
> [ticket]
> default_component = ERMA
> default_milestone = SONS Drill Items to fix
> default_owner = true
> default_priority = normal
> default_severity = normal
> default_type = defect
> default_version = 2.0
> restrict_owner = true
>
> [ticket-custom]
> billable = checkbox
> billable.label = Billable?
> billable.order = 3
> billable.value = 1
> blockedby = text
> blockedby.label = Blocked By
> blocking = text
> blocking.label = Blocking
> due_assign = text
> due_assign.label = Start (MM/DD/YYYY)
> due_assign.order = 1
> due_close = text
> due_close.label = End (MM/DD/YYYY)
> due_close.order = 2
> estimatedhours = text
> estimatedhours.label = Estimated Number of Hours
> estimatedhours.order = 1
> estimatedhours.value = 0
> hours = text
> hours.label = Add Hours to Ticket
> hours.order = 2
> hours.value = 0
> parents = text
> parents.label = Parent Tickets
> totalhours = text
> totalhours.label = Total Hours
> totalhours.order = 4
> totalhours.value = 0
>
> [ticket-workflow]
> accept = new,assigned,reopened -> accepted
> accept.default = 9
> accept.name = Accept this ticket
> accept.operations = set_owner_to_self
> accept.permissions = TICKET_MODIFY
> deploy = accepted,testing -> deploy
> deploy.default = 3
> deploy.name = Mark ticket for Deployment
> deploy.permissions = TICKET_MODIFY
> leave = * -> *
> leave.default = 10
> leave.name = Leave
> leave.operations = leave_status
> reassign = new,assigned,accepted,reopened,review -> assigned
> reassign.default = 1
> reassign.name = Reassign
> reassign.operations = set_owner
> reassign.permissions = TICKET_MODIFY
> reassign_deploy = deploy -> accepted
> reassign_deploy.default = 1
> reassign_deploy.name = Mark ticket back to Accepted
> reassign_deploy.permissions = TICKET_MODIFY
> reassign_review = review -> accepted
> reassign_review.default = 1
> reassign_review.name = Mark ticket back to Accepted
> reassign_review.permissions = TICKET_MODIFY
> reassign_testing = testing -> accepted
> reassign_testing.default = 1
> reassign_testing.name = Mark ticket back to Accepted
> reassign_testing.permissions = TICKET_MODIFY
> reopen = closed -> reopened
> reopen.operations = del_resolution
> reopen.permissions = TICKET_CREATE
> resolve = new,assigned,accepted,reopened,review,deploy -> closed
> resolve.default = 0
> resolve.name = Resolve
> resolve.operations = set_resolution
> resolve.permissions = TICKET_MODIFY
> review = accepted -> review
> review.default = 5
> review.name = Mark ticket for Review
> review.permissions = TICKET_MODIFY
> testing = accepted,review -> testing
> testing.default = 4
> testing.name = Mark ticket for Testing
> testing.permissions = TICKET_MODIFY
>
> [timeline]
> changeset_long_messages = false
> changeset_show_files = 0
> default_daysback = 30
> ticket_show_details = true
>
> [trac]
> authz_file =
> authz_module_name =
> base_url =
> check_auth_ip = true
> database = sqlite:db/trac.db
> debug_sql = true
> default_charset = iso-8859-15
> default_handler = WikiModule
> htdocs_location =
> ignore_auth_case = false
> mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
> metanav = login,logout,settings,help,about
> permission_store = DefaultPermissionStore
> repository_dir = /data1/svn/repos/erma
> repository_type = svn
> timeout = 20
>
> [trac-jsgantt]
> option.caption = Resource
> option.colorby = priority
> option.comp = 0
> option.datedisplay = mm/dd/yyyy
> option.dur = 0
> option.enddate = 1
> option.expandclosedtickets = 1
> option.format = month
> option.formats = day|week|month|quarter
> option.hoursperday = 8.0
> option.lwidth = 500
> option.omitmilestone = 0
> option.openlevel = 0
> option.res = 0
> option.schedule = asap
> option.showdep = 1
> option.startdate = 1
> option.usermap = 0
>
> [wiki]
> ignore_missing_pages = false
> render_unsafe_content = false
> split_page_names = false
> }}}
>
>
> {{[
>
> cat /etc/issue
> Debian GNU/Linux 6.0 \n \l
>
> sqlite3 --version
> 3.7.7.1 2011-06-28
>
> }}}
>
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.