Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17715868
D17143.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
976 B
Referenced Files
None
Subscribers
None
D17143.diff
View Options
diff --git a/webroot/rsrc/js/application/transactions/behavior-comment-actions.js b/webroot/rsrc/js/application/transactions/behavior-comment-actions.js
--- a/webroot/rsrc/js/application/transactions/behavior-comment-actions.js
+++ b/webroot/rsrc/js/application/transactions/behavior-comment-actions.js
@@ -146,7 +146,7 @@
var conflict_key = action.conflictKey || null;
if (conflict_key !== null) {
for (var k in action_map) {
- if (k === action) {
+ if (k === action.key) {
continue;
}
if (action_map[k].conflictKey !== conflict_key) {
@@ -189,7 +189,7 @@
return;
}
- remove_action(action);
+ remove_action(action.key);
});
rows[action.key] = {
@@ -200,7 +200,7 @@
JX.DOM.listen(remove, 'click', null, function(e) {
e.kill();
- remove_action(action);
+ remove_action(action.key);
});
place_node.parentNode.insertBefore(node, place_node);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 18, 3:26 PM (1 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8506854
Default Alt Text
D17143.diff (976 B)
Attached To
Mode
D17143: Straighten out some stacked action removal behaviors
Attached
Detach File
Event Timeline
Log In to Comment