forked from 0x2620/oxjs
use new form element syntax, continued
This commit is contained in:
parent
e47305c93f
commit
02f53a57c1
15 changed files with 107 additions and 88 deletions
|
|
@ -288,7 +288,7 @@ Ox.Menu = function(options, self) {
|
|||
that.items = [];
|
||||
items.forEach(function(item) {
|
||||
var position;
|
||||
if (!Ox.isEmpty(item)) {
|
||||
if ('id' in item) {
|
||||
that.items.push(
|
||||
Ox.MenuItem(Ox.extend(item, {
|
||||
maxWidth: self.options.maxWidth,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue