Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14135054
D17399.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
669 B
Referenced Files
None
Subscribers
None
D17399.id.diff
View Options
diff --git a/src/infrastructure/javelin/markup.php b/src/infrastructure/javelin/markup.php
--- a/src/infrastructure/javelin/markup.php
+++ b/src/infrastructure/javelin/markup.php
@@ -98,6 +98,19 @@
'name' => '__form__',
'value' => true,
));
+
+ // If the profiler was active for this request, keep it active for any
+ // forms submitted from this page.
+ if (DarkConsoleXHProfPluginAPI::isProfilerRequested()) {
+ $body[] = phutil_tag(
+ 'input',
+ array(
+ 'type' => 'hidden',
+ 'name' => '__profile__',
+ 'value' => true,
+ ));
+ }
+
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 3, 12:51 PM (16 h, 48 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6819392
Default Alt Text
D17399.id.diff (669 B)
Attached To
Mode
D17399: When the profiler is active, keep it active if the user submits forms
Attached
Detach File
Event Timeline
Log In to Comment