1
0
Fork 0
forked from 0x2620/oxjs

use MenuButton

This commit is contained in:
rolux 2011-12-20 12:50:37 +05:30
commit 96b206de1a
4 changed files with 24 additions and 36 deletions

View file

@ -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
})