remove 'new place' entry from map options menu (fixes #368)
This commit is contained in:
parent
8851a9c454
commit
4008f2e04f
1 changed files with 16 additions and 21 deletions
|
@ -219,11 +219,7 @@ Ox.Map = function(options, self) {
|
|||
})
|
||||
.appendTo(that);
|
||||
self.$select = Ox.MenuButton({
|
||||
items: Ox.merge(
|
||||
self.options.editable
|
||||
? [{id: 'new Place', title: 'New Place...', keyboard: 'n'}, {}]
|
||||
: [],
|
||||
[
|
||||
items: [
|
||||
{
|
||||
id: 'toggleLabels',
|
||||
title: self.options.showLabels
|
||||
|
@ -238,8 +234,7 @@ Ox.Map = function(options, self) {
|
|||
: ['Show Controls', 'Hide Controls'],
|
||||
keyboard: 'c'
|
||||
}
|
||||
]
|
||||
),
|
||||
],
|
||||
title: 'Options...',
|
||||
width: 96
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue