Opened 6 years ago

Closed 6 years ago

#8654 closed defect (fixed)

rules.js breaking when Back button pressed or type changed in newticket

Reported by: doug Owned by: robguttman
Priority: normal Component: DynamicFieldsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


I found two cases that broke the script (stopped fields from being hidden): navigating to a ticket by pushing the Back button, and changing the type select on the newticket form. Google Chrome showed an error in rules.js at line 171, the attached patch fixes it for me. Note: I don't use many rules, the clear_on_hide rule is on by default, there could be other instances of this problem in the code that I haven't seen.

Attachments (1)

rules.patch (580 bytes) - added by doug 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by doug

comment:1 Changed 6 years ago by robguttman

(In [10007]) refs #8654" fix that showed in Chrome. Thanks to doug for the patch!

comment:2 Changed 6 years ago by robguttman

  • Resolution set to fixed
  • Status changed from new to closed

Thanks, Doug!

Add Comment

Modify Ticket

as closed The owner will remain robguttman.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.