// since we always add it.. just chop of last item
this.subMenuItems.pop();
- this.pulldownMenu = lotb.add(
+ this.pulldownMenu = new Roo.Toolbar.Button(
{
text: "Add New Item",
menu : {
items : this.subMenuItems
}
- } ,'-'
+ }
);
+ lotb.add(this.pulldownMenu, '0');
+
}
lotb.add(