Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14767697
D12250.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
734 B
Referenced Files
None
Subscribers
None
D12250.diff
View Options
diff --git a/src/view/form/AphrontFormView.php b/src/view/form/AphrontFormView.php
--- a/src/view/form/AphrontFormView.php
+++ b/src/view/form/AphrontFormView.php
@@ -92,6 +92,10 @@
}
public function buildLayoutView() {
+ foreach ($this->controls as $control) {
+ $control->setUser($this->getUser());
+ }
+
return id(new PHUIFormLayoutView())
->setFullWidth($this->getFullWidth())
->appendChild($this->renderDataInputs())
@@ -118,10 +122,6 @@
public function render() {
require_celerity_resource('phui-form-view-css');
- foreach ($this->controls as $control) {
- $control->setUser($this->getUser());
- }
-
$layout = $this->buildLayoutView();
if (!$this->user) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 6:10 PM (20 h, 42 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7042361
Default Alt Text
D12250.diff (734 B)
Attached To
Mode
D12250: Fix a tokenizer issue in a rare edge case
Attached
Detach File
Event Timeline
Log In to Comment