Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13977932
D9629.id23103.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
869 B
Referenced Files
None
Subscribers
None
D9629.id23103.diff
View Options
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php b/src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php
@@ -196,7 +196,11 @@
// NOTE: We're setting the submit URI explicitly because we need to edit
// a different panel if we just cloned the original panel.
- $submit_uri = $this->getApplicationURI('panel/edit/'.$panel->getID().'/');
+ if ($is_create) {
+ $submit_uri = $this->getApplicationURI('panel/edit/');
+ } else {
+ $submit_uri = $this->getApplicationURI('panel/edit/'.$panel->getID().'/');
+ }
$policies = id(new PhabricatorPolicyQuery())
->setViewer($viewer)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 19 2024, 8:41 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733808
Default Alt Text
D9629.id23103.diff (869 B)
Attached To
Mode
D9629: Fix invalid submit_uri when creating dashboard panels
Attached
Detach File
Event Timeline
Log In to Comment