Open szpapas opened 8 years ago
If you replace menu: {items: [:about]}
with menu: [:about]
it'll work. I guess I didn't pay enough attention to the fact that, besides specifying items as an array, one may want to configure other aspects of the menu. Need to look into this again, thanks for reporting!
http://www.rubydoc.info/github/netzke/netzke-core#Actions__toolbars__and_menus
Actions can also be referred to is submenus: c.tbar = [{text: 'Menu', menu: {items: [:show_report]}}]
I played with netzke-demo, and change the Applcaction.rb title_html to menu like this:
The dropdown menu displayed without any text and can not response to the click events.
When viewed source in chrome, I got :