Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15392611
D21668.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
747 B
Referenced Files
None
Subscribers
None
D21668.diff
View Options
diff --git a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
--- a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
+++ b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
@@ -71,6 +71,17 @@
return $panel;
}
+ protected function newEditableObjectForDocumentation() {
+ $panel = parent::newEditableObjectForDocumentation();
+
+ $text_type = id(new PhabricatorDashboardTextPanelType())
+ ->getPanelTypeKey();
+
+ $panel->setPanelType($text_type);
+
+ return $panel;
+ }
+
protected function newObjectQuery() {
return new PhabricatorDashboardPanelQuery();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 4:19 PM (6 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705211
Default Alt Text
D21668.diff (747 B)
Attached To
Mode
D21668: Correct an issue where "dashboard.panel.edit" fatals in the API console
Attached
Detach File
Event Timeline
Log In to Comment