H1D/jquery-grewform — Issue #2: Rollback rules takes longer the more rules that should be rolled back
Author: knifhen
Created: 2011-10-18 09:05:09+00:00
State: open

When rolling back a rule that show multiple elements the time it takes to perform the rollback seems to be directly proportional to the number of elements that should be rolled back. For example the following rule takes approximately 2s to rollback

"#controllingElement:checked": {show: "#element1, #element2, #element3, #element4"}

while the following starts performing virtually immediately

"#controllingElement:checked": {show: "#element1"}

Also the rule with multiple elements to show is not slow at all when performing the show, just the rollback.