Commit 789a2d46 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '6159-tab-update-is-only-called-on-current-tab' into '1.4-dev'

Resolve "Tab update is only called on current tab"

See merge request fusiondirectory/fd!898
Showing with 3 additions and 4 deletions
+3 -4
......@@ -241,12 +241,11 @@ class simpleTabs implements FusionDirectoryDialog
public function update (): bool
{
if (($this->last != $this->current) && ($this->last != '')) {
$this->by_object[$this->last]->update();
/* Call update on all tabs as they may react to changes in other tabs */
foreach ($this->by_object as $key => $obj) {
$obj->update();
}
$this->by_object[$this->current]->update();
return TRUE;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment