Toolbar - Add Ajax Item #2553

Closed
leesolway opened this Issue Jan 31, 2014 · 2 comments

Projects

None yet

3 participants

@leesolway

I am not sure if this is intended behaviour or not..

If you use the method add_ajax_item to a toolbar, the buttons ajax request is not bound. The ajax request is not triggered.

The method works however when adding an ajax button to a drop down menu.

@toolbar_pool.register
class WebsitePageToolbar(CMSToolbar):
def populate(self):
self.toobar.add_ajax_item(_('Button'), action='someurl')

@FinalAngel FinalAngel was assigned by digi604 Feb 3, 2014
@digi604 digi604 added the frontend label Feb 10, 2014
@FinalAngel
Member

It does work for me on the root navigation, I even get an error undefined | 500 INTERNAL SERVER ERROR as someurl is not defined

@FinalAngel
Member

Buttons do allow now for all data-rel options (open sideframe, modal, ajax)

@FinalAngel FinalAngel closed this Mar 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment