mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
Do not show the dropdown menu if there is no actions on toolbar "more..." menu
This commit is contained in:
parent
a7459e57b4
commit
e544b91429
@ -357,6 +357,11 @@ var et2_toolbar = et2_DOMWidget.extend([et2_IInput],
|
|||||||
},
|
},
|
||||||
create: function (event, ui) {
|
create: function (event, ui) {
|
||||||
$j('html').unbind('click.outsideOfMenu');
|
$j('html').unbind('click.outsideOfMenu');
|
||||||
|
},
|
||||||
|
beforeActivate: function ()
|
||||||
|
{
|
||||||
|
// Nothing to show in menulist
|
||||||
|
if (menulist.children().length == 0) return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user