Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15342156
D19115.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
554 B
Referenced Files
None
Subscribers
None
D19115.id.diff
View Options
diff --git a/src/applications/phriction/storage/PhrictionContent.php b/src/applications/phriction/storage/PhrictionContent.php
--- a/src/applications/phriction/storage/PhrictionContent.php
+++ b/src/applications/phriction/storage/PhrictionContent.php
@@ -54,6 +54,7 @@
public function newRemarkupView(PhabricatorUser $viewer) {
return id(new PHUIRemarkupView($viewer, $this->getContent()))
+ ->setContextObject($this)
->setRemarkupOption(PHUIRemarkupView::OPTION_GENERATE_TOC, true)
->setGenerateTableOfContents(true);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 9:03 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7472526
Default Alt Text
D19115.id.diff (554 B)
Attached To
Mode
D19115: Provide the document content as a context object when rendering Phriction documents
Attached
Detach File
Event Timeline
Log In to Comment