parent
1be8e14772
commit
50037d8ec9
library/Icinga/Web/Widget
|
@ -249,7 +249,7 @@ EOT;
|
||||||
if ($this->has($name)) {
|
if ($this->has($name)) {
|
||||||
unset($this->tabs[$name]);
|
unset($this->tabs[$name]);
|
||||||
if (($dropdownIndex = array_search($name, $this->dropdownTabs, true)) !== false) {
|
if (($dropdownIndex = array_search($name, $this->dropdownTabs, true)) !== false) {
|
||||||
array_splice($this->dropdownTabs, $dropdownIndex, 2);
|
array_splice($this->dropdownTabs, $dropdownIndex, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue