Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #597 (closed defect: fixed)

Opened 12 years ago

Last modified 10 years ago

CalendarDatePickers causes JavaScript error: "too much recursion"

Reported by: victor.kryukov Owned by: anonymous
Priority: normal Milestone:
Component: TG Widgets Version:
Severity: major Keywords:


I've modified controllers.py from FormsTutorial?, adding CalendarDatePicker? (the diff to controllers.py from FormsTutorial?/controllers.py is attached).

Now when I'm pressing the 'Choose' button and selecting some date, nothing happens (e.g., the Calendar form does not dissappear from the screen), and I'm receving

Error: too much recursion Source File:  http://localhost:8080/tg_widgets/turbogears.widgets/calendar/calendar.js Line: 14

in my JavaScript? console (I'm using Firefox on Windows XP); the same error occurs with IE 6.0 SP2).

The fun thing is that in Toolbox everything (both CalendarDatePicker? and CalendarDateTimePicker?) is working fine.


controllers.diff Download (1.3 KB) - added by victor.kryukov 12 years ago.
Diff to controllers.py from SimpleWidget? FormsTutorial?

Change History

Changed 12 years ago by victor.kryukov

Diff to controllers.py from SimpleWidget? FormsTutorial?

comment:1 Changed 11 years ago by victor.kryukov

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.