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 9 years ago

Last modified 7 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:
Cc:

Description

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 1.5.0.1 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.

Attachments

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

Change History

Changed 9 years ago by victor.kryukov

Diff to controllers.py from SimpleWidget? FormsTutorial?

comment:1 Changed 9 years ago by victor.kryukov

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