mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-28 12:08:14 +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())
|
->setUser($this->getRequest()->getUser())
|
||||||
->setConpherence($conpherence)
|
->setConpherence($conpherence)
|
||||||
->setUpdateURI($widget_uri);
|
->setUpdateURI($widget_uri);
|
||||||
$file_widget = $file_widget->render();
|
$file_widget = hsprintf('%s', $file_widget->render());
|
||||||
break;
|
break;
|
||||||
case ConpherenceUpdateActions::ADD_PERSON:
|
case ConpherenceUpdateActions::ADD_PERSON:
|
||||||
$people_widget = id(new ConpherencePeopleWidgetView())
|
$people_widget = id(new ConpherencePeopleWidgetView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setConpherence($conpherence)
|
->setConpherence($conpherence)
|
||||||
->setUpdateURI($widget_uri);
|
->setUpdateURI($widget_uri);
|
||||||
$people_widget = $people_widget->render();
|
$people_widget = hsprintf('%s', $people_widget->render());
|
||||||
break;
|
break;
|
||||||
case ConpherenceUpdateActions::REMOVE_PERSON:
|
case ConpherenceUpdateActions::REMOVE_PERSON:
|
||||||
case ConpherenceUpdateActions::NOTIFICATIONS:
|
case ConpherenceUpdateActions::NOTIFICATIONS:
|
||||||
|
|
Loading…
Add table
Reference in a new issue