mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 02:18:31 +02:00
Fix toolbar menulist height calculation
This commit is contained in:
@ -439,6 +439,14 @@ var et2_toolbar = (function(){ "use strict"; return et2_DOMWidget.extend([et2_II
|
||||
},
|
||||
beforeActivate: function ()
|
||||
{
|
||||
if (egwIsMobile())
|
||||
{
|
||||
menulist.height(screen.availHeight - 50);
|
||||
}
|
||||
else
|
||||
{
|
||||
menulist.css({height:'inherit'})
|
||||
}
|
||||
// Nothing to show in menulist
|
||||
if (menulist.children().length == 0) return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user