mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-25 09:05:55 +03:00
[PR #6] [CLOSED] Possible race condition with append() #224
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#224
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NarrativeScience-old/log.io/pull/6
Author: @ErrorProne
Created: 8/17/2011
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
a6790f6It seems that some kind of race condition can happen. The append of the group isn't propageted to the DOM-tree when "dom.appendTo("#node_" + this.node.label + " .group2");" is called. So I added the group-dom as additional argument to the log-giles render-function.📊 Changes
1 file changed (+6 additions, -3 deletions)
View changed files
📝
lib/client/js/ui/renderers.jquery.js(+6 -3)📄 Description
It seems that some kind of race condition can happen. The append of the group isn't propageted to the DOM-tree when "dom.appendTo("#node_" + this.node.label + " .group2");" is called. So I added the group-dom as additional argument to the log-giles render-function.
This is just a quick hack and not fully tested, but it fixed the problem for me.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.