rules.js breaking when Back button pressed or type changed in newticket
|Reported by:||doug||Owned by:||robguttman|
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.