mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Add a setEncType
method to AphrontDialogView.
Summary: Fixes a Conpherence fatal when going to /conpherence/update/1 Test Plan: Successfully rendered the edit form and saved it. Reviewers: epriestley, btrahan Reviewed By: btrahan CC: aran, Korvin Maniphest Tasks: T2402 Differential Revision: https://secure.phabricator.com/D4634
This commit is contained in:
parent
184be964a2
commit
78eee0af48
2 changed files with 0 additions and 2 deletions
|
@ -207,7 +207,6 @@ final class ConpherenceUpdateController extends
|
|||
->setTitle(pht('Update Conpherence'))
|
||||
->setWidth(AphrontDialogView::WIDTH_FORM)
|
||||
->setSubmitURI($this->getApplicationURI('update/'.$conpherence_id.'/'))
|
||||
->setEncType('multipart/form-data')
|
||||
->addHiddenInput('action', 'metadata')
|
||||
->appendChild($form)
|
||||
->addSubmitButton()
|
||||
|
|
|
@ -128,7 +128,6 @@ final class AphrontDialogView extends AphrontView {
|
|||
'action' => $this->submitURI,
|
||||
'method' => 'post',
|
||||
'id' => $this->formID,
|
||||
'enctype' => $this->encType,
|
||||
);
|
||||
|
||||
$hidden_inputs = array();
|
||||
|
|
Loading…
Reference in a new issue