1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-19 16:58:48 +02: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:
epriestley 2011-05-10 11:24:06 -07:00
parent d5dfa5faf5
commit e32fd1a871

View file

@ -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__',