Commit bd9f29e0 authored by epriestley's avatar epriestley
Browse files

Fix Phriction preview

Summary: Missed this in the PHUIDocumentView thing.

Test Plan: Previewed a Phriction edit; grepped more/harder.

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D6110
parent a20e87bc
......@@ -229,18 +229,17 @@ final class PhrictionEditController
$header = id(new PhabricatorHeaderView())
->setHeader($panel_header);
$preview_panel = hsprintf(
'<div class="phriction-wrap">
<div class="phriction-content">
<div class="phriction-document-preview-header plt pll">%s</div>
<div id="document-preview">
<div class="aphront-panel-preview-loading-text">%s</div>
</div>
</div>
$preview_content = hsprintf(
'<div class="phriction-document-preview-header plt pll">%s</div>
<div id="document-preview">
<div class="aphront-panel-preview-loading-text">%s</div>
</div>',
pht('Document Preview'),
pht('Loading preview...'));
$preview_panel = id(new PHUIDocumentView())
->appendChild($preview_content);
Javelin::initBehavior(
'phriction-document-preview',
array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment