menubar: The temporary one should not be disabled & jump to the new position.

Also don't use the hover frame for the 'Last modification', it is not a
real menubar enttry.

Change-Id: Iccaf8ff2b7a882e7d5bbf56d5dc19422a93457fe
This commit is contained in:
Jan Holesovsky 2018-11-29 09:59:00 +01:00
parent dfeabd9810
commit 0d2e61c45f
2 changed files with 5 additions and 12 deletions

View file

@ -319,10 +319,3 @@
border: 1px solid transparent;
cursor: pointer;
}
#menu-last-mod a:hover {
background: #fff;
border-color: #bbbbbb;
padding: 7px 14px 6px 14px;
border: 1px solid #bbb;
}

View file

@ -8,11 +8,11 @@ L.Control.Menubar = L.Control.extend({
// TODO: Some mechanism to stop the need to copy duplicate menus (eg. Help)
options: {
initial: [
{name: _UNO('.uno:PickList'), disabled: true},
{name: _UNO('.uno:EditMenu'), disabled: true},
{name: _UNO('.uno:ViewMenu'), disabled: true},
{name: _UNO('.uno:InsertMenu'), disabled: true},
{name: _UNO('.uno:ToolsMenu'), disabled: true}
{name: _UNO('.uno:PickList')},
{name: _UNO('.uno:EditMenu')},
{name: _UNO('.uno:ViewMenu')},
{name: _UNO('.uno:InsertMenu')},
{name: _UNO('.uno:ToolsMenu')}
],
text: [
{name: _UNO('.uno:PickList', 'text'), id: 'file', type: 'menu', menu: [