mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
Correctly focus elements in Workflow dialogs
Summary: JX.Workflow does a JX.DOM.find() for the sigil __default__, but fails because we render with phutil_render_tag() instead of javelin_render_tag() so sigils are not converted correctly. Test Plan: Opened an inline comment in differential, got focus on the <textarea /> Reviewed By: tuomaspelkonen Reviewers: tuomaspelkonen CC: aran, tuomaspelkonen, epriestley Differential Revision: 259
This commit is contained in:
parent
d5dfa5faf5
commit
e32fd1a871
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class AphrontDialogView extends AphrontView {
|
|||
|
||||
$buttons = array();
|
||||
if ($this->submitButton) {
|
||||
$buttons[] = phutil_render_tag(
|
||||
$buttons[] = javelin_render_tag(
|
||||
'button',
|
||||
array(
|
||||
'name' => '__submit__',
|
||||
|
|
Loading…
Reference in a new issue