Big Issue with rio menu inside of FORM

Locked
ybendek
Posts: 102
Joined: 05 Aug 2011, 17:52

17 Jun 2015, 05:08

Hi.

I'm trying to use the new RIO theme, but I found a big issue related with the layout menu, I need to put the all menu inside of a FORM tag to use actions atts, but unfortunately when I place it in a form, the menu items not working and children are not displayed. Even with the demo app included in the package this issue is displayed.

This did not happen to me before when using sentinel...... very frustrating issue :S

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

17 Jun 2015, 16:30

I've replicated the issue. I think you can change with .find() selector instead of .children() selector in layout.js for now (resources/rio-layout/js/layout.js). We will add a similar solution for next Rio Release.

Code: Select all

//in init() function
this.menu = this.menuWrapper.find('.rio-menu');
this.menulinks = this.menuWrapper.find('.layout-menu a.menulink');

ybendek
Posts: 102
Joined: 05 Aug 2011, 17:52

17 Jun 2015, 23:24

aragorn wrote:I've replicated the issue. I think you can change with .find() selector instead of .children() selector in layout.js for now (resources/rio-layout/js/layout.js). We will add a similar solution for next Rio Release.

Code: Select all

//in init() function
this.menu = this.menuWrapper.find('.rio-menu');
this.menulinks = this.menuWrapper.find('.layout-menu a.menulink');
Thank you aragorn, it works like a charm :)

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

18 Jun 2015, 08:10

you're welcome. :)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 Jun 2015, 19:07

Fixed for 1.0.1 due 22th.

ybendek
Posts: 102
Joined: 05 Aug 2011, 17:52

18 Jun 2015, 23:56

awesome :)


ybendek
Posts: 102
Joined: 05 Aug 2011, 17:52

24 Jun 2015, 01:09

Issue fixed... thanks

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

24 Jun 2015, 22:29

Glad to hear, thanks!

Locked

Return to “Rio”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests