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)
Change History (3)
Changed 14 years ago by
Attachment: | rules.patch added |
---|
comment:1 Changed 14 years ago by
Note: See
TracTickets for help on using
tickets.
(In [10007]) refs #8654" fix that showed in Chrome. Thanks to doug for the patch!