N°1030 Collapsible Sections :

* stop event propagation (was causing tab switching in notifications)
* save section state in localStorage

SVN:trunk[5382]
This commit is contained in:
Pierre Goiffon
2018-03-05 15:50:38 +00:00
parent d96015f2c1
commit f9511aba17
4 changed files with 71 additions and 15 deletions

View File

@@ -1086,6 +1086,18 @@ class Config
return (array_key_exists($sPropCode, $this->m_aSettings));
}
/**
* @return string identifier that can be used for example to name WebStorage/SessionStorage keys (they
* are related to a whole domain, and a domain can host multiple itop)
*/
public function GetItopInstanceid()
{
return utils::GetAbsoluteUrlAppRoot()
.'==='.$this->Get('db_host')
.'/'.$this->Get('db_name')
.'/'.$this->Get('db_subname');
}
public function GetDescription($sPropCode)
{
return $this->m_aSettings[$sPropCode];