forked from 0x2620/oxjs
use MenuButton
This commit is contained in:
parent
9f151e2e60
commit
96b206de1a
4 changed files with 24 additions and 36 deletions
|
|
@ -213,7 +213,7 @@ Ox.Map = function(options, self) {
|
|||
size: 24
|
||||
})
|
||||
.appendTo(that);
|
||||
self.$select = Ox.Select({
|
||||
self.$select = Ox.MenuButton({
|
||||
items: Ox.merge(
|
||||
self.options.editable
|
||||
? [{id: 'new Place', title: 'New Place...', keyboard: 'n'}, {}]
|
||||
|
|
@ -235,7 +235,6 @@ Ox.Map = function(options, self) {
|
|||
}
|
||||
]
|
||||
),
|
||||
selectable: false,
|
||||
title: 'Options...',
|
||||
width: 96
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue