From ad7239d64ccfa8ba163fa9f05a52a59e332a0b97 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 1 Apr 2016 06:02:53 -0700 Subject: [PATCH] Don't show continuation lines in "stacked action" comment previews Summary: Ref T10698. Currently, we show the spacer/continuation lines around previews, but these don't make sense in previews. (Other stuff also uses this code so I can't simply remove `spacer`.) Test Plan: Before: {F1199924} After: {F1199925} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10698 Differential Revision: https://secure.phabricator.com/D15562 --- .../js/application/transactions/behavior-comment-actions.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/webroot/rsrc/js/application/transactions/behavior-comment-actions.js b/webroot/rsrc/js/application/transactions/behavior-comment-actions.js index be28e0bdad..87cb80c74a 100644 --- a/webroot/rsrc/js/application/transactions/behavior-comment-actions.js +++ b/webroot/rsrc/js/application/transactions/behavior-comment-actions.js @@ -148,10 +148,7 @@ JX.behavior('comment-actions', function(config) { } else { JX.DOM.setContent( JX.$(config.timelineID), - [ - JX.$H(response.spacer), - JX.$H(response.xactions.join(response.spacer)) - ]); + JX.$H(response.xactions.join(''))); JX.DOM.show(panel); } }