Private GIT

Skip to content
Snippets Groups Projects
Commit 8bc2d13a authored by Guillaume28's avatar Guillaume28
Browse files

fix(build): selects asynchronous elements of select2

parent 37e8f9c7
Branches
Tags
No related merge requests found
...@@ -76,11 +76,11 @@ class ServiceGroupConfigurationContext extends CentreonContext ...@@ -76,11 +76,11 @@ class ServiceGroupConfigurationContext extends CentreonContext
public function thePropertiesAreUpdated() public function thePropertiesAreUpdated()
{ {
$this->tableau = array(); $this->tableau = array();
$this->currentPage = new ServiceGroupConfigurationListingPage($this);
$this->currentPage = $this->currentPage->inspect($this->updatedProperties['name']);
try { try {
$this->spin( $this->spin(
function ($context) { function ($context) {
$this->currentPage = new ServiceGroupConfigurationListingPage($this);
$this->currentPage = $this->currentPage->inspect($this->updatedProperties['name']);
$object = $this->currentPage->getProperties(); $object = $this->currentPage->getProperties();
foreach ($this->updatedProperties as $key => $value) { foreach ($this->updatedProperties as $key => $value) {
if ($value != $object[$key]) { if ($value != $object[$key]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment