mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 02:18:31 +02:00
W.I.P. of disableIfNoEPL attribute:
- Implement the same attribute for sidebox menu - Fix if hideOnDisabled is enabled it will ignore the disableIfNoEPL and it will not show the menu at all - Adopt addressbook Mail VCard menu
This commit is contained in:
@ -268,7 +268,9 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
||||
|
||||
if (_data[i].entries[j].icon_or_star)
|
||||
{
|
||||
catContent += '<div class="egw_fw_ui_sidemenu_listitem"><img class="egw_fw_ui_sidemenu_listitem_icon" src="' + _data[i].entries[j].icon_or_star + '" />';
|
||||
var disableIfNoEPL = _data[i].entries[j].disableIfNoEPL ? ' disableIfNoEPL" title="'+egw.lang("This feature is only available in EPL version.") : "";
|
||||
catContent += '<div class="egw_fw_ui_sidemenu_listitem'+disableIfNoEPL+
|
||||
'"><img class="egw_fw_ui_sidemenu_listitem_icon" src="' + _data[i].entries[j].icon_or_star + '" />';
|
||||
}
|
||||
if (_data[i].entries[j].item_link == '')
|
||||
{
|
||||
|
Reference in New Issue
Block a user