Modify

Opened 14 years ago

Closed 14 years ago

#8654 closed defect (fixed)

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

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

Description

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 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by doug

Attachment: rules.patch added

comment:1 Changed 14 years ago by Rob Guttman

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

comment:2 Changed 14 years ago by Rob Guttman

Resolution: fixed
Status: newclosed

Thanks, Doug!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Rob Guttman.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.