mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-23 01:30:09 +01:00
Conpherence - fix widget updates from main view
Summary: Fixes T8217. Broken circa D12760. Some browsers rendered nothing while others rendered a ",". Test Plan: added folks to conpherences and saw people widget update correctly. added files to conpherence and saw file widget update correctly. Tested on Chrome and Firefox. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T8217 Differential Revision: https://secure.phabricator.com/D12912
This commit is contained in:
parent
c006ef6289
commit
da4617aabd
1 changed files with 2 additions and 2 deletions
|
@ -528,14 +528,14 @@ final class ConpherenceUpdateController
|
|||
->setUser($this->getRequest()->getUser())
|
||||
->setConpherence($conpherence)
|
||||
->setUpdateURI($widget_uri);
|
||||
$file_widget = $file_widget->render();
|
||||
$file_widget = hsprintf('%s', $file_widget->render());
|
||||
break;
|
||||
case ConpherenceUpdateActions::ADD_PERSON:
|
||||
$people_widget = id(new ConpherencePeopleWidgetView())
|
||||
->setUser($user)
|
||||
->setConpherence($conpherence)
|
||||
->setUpdateURI($widget_uri);
|
||||
$people_widget = $people_widget->render();
|
||||
$people_widget = hsprintf('%s', $people_widget->render());
|
||||
break;
|
||||
case ConpherenceUpdateActions::REMOVE_PERSON:
|
||||
case ConpherenceUpdateActions::NOTIFICATIONS:
|
||||
|
|
Loading…
Add table
Reference in a new issue