mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°3617 User pref keys : add prefix and normalize naming
4 keys existing : * notification help message => UI-Collapsible__notifications__home * run_query "more info" section => UI-Collapsible__run_query__more-info * RenderAllUiBlocks test page alert and section examples => UI-Collapsible__RenderAllUiBlocks__alert and UI-Collapsible__RenderAllUiBlocks__section
This commit is contained in:
@@ -128,7 +128,7 @@ class Alert extends UIBlock
|
||||
public function EnableSaveCollapsibleState($sSectionStateStorageKey)
|
||||
{
|
||||
$this->bIsSaveCollapsibleStateEnabled = true;
|
||||
$this->sSectionStateStorageKey = $sSectionStateStorageKey;
|
||||
$this->sSectionStateStorageKey = 'UI-Collapsible__'.$sSectionStateStorageKey;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ class CollapsibleSection extends UIContentBlock
|
||||
public function EnableSaveCollapsibleState($sSectionStateStorageKey)
|
||||
{
|
||||
$this->bIsSaveCollapsibleStateEnabled = true;
|
||||
$this->sSectionStateStorageKey = $sSectionStateStorageKey;
|
||||
$this->sSectionStateStorageKey = 'UI-Collapsible__'.$sSectionStateStorageKey;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user