| Issue 757: | new events don't 'stick' after removing an event | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Bug description: If you had an event (don't even have to do that), remove an event, and then add a new event that should 'stick', the new event doesn't really stick. Bug cause: It happens because that 'dynamicEventSource' array to which sticking events are added reference becomes irrelevant after removing and event (it is being filtered and copied). Suggested fix: Save the dynamicEventSource id in the sources array and not the array refernce Line 868: - var dynamicEventSource = []; + var dynamicEventSourceId; Line 951: - sources.push(dynamicEventSource) + dynamicEventSourceId = sources.push([]) - 1; Lines 1015-1016: - dynamicEventSource.push(event); - event.source = dynamicEventSource; + sources[dynamicEventSourceId].push(event); + event.source = sources[dynamicEventSourceId]; I know it fixes the specific bug, but I haven't checked if there are any other similar bugs regarding the sources list (sources references being lost). Thanks for the great control! For questions regarding the bug or the fix, Ehud Yalin-Mor ehud@vmeetme.com
Jan 2, 2011
this is fixed in 1.4.10, just released. thanks
Status:
Fixed
Aug 13, 2013
(No comment was entered for this change.)
Status:
Implemented
Aug 13, 2013
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Status: Accepted
Labels: Type-Defect