mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Do not show the dropdown menu if there is no actions on toolbar "more..." menu
This commit is contained in:
parent
8f92df1a86
commit
d35a0947d3
@ -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