Page 1 of 1

Big Issue with rio menu inside of FORM

Posted: 17 Jun 2015, 05:08
by ybendek
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

Re: Big Issue with rio menu inside of FORM

Posted: 17 Jun 2015, 16:30
by mert.sincan
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');

Re: Big Issue with rio menu inside of FORM

Posted: 17 Jun 2015, 23:24
by ybendek
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 :)

Re: Big Issue with rio menu inside of FORM

Posted: 18 Jun 2015, 08:10
by mert.sincan
you're welcome. :)

Re: Big Issue with rio menu inside of FORM

Posted: 18 Jun 2015, 19:07
by cagatay.civici
Fixed for 1.0.1 due 22th.

Re: Big Issue with rio menu inside of FORM

Posted: 18 Jun 2015, 23:56
by ybendek
awesome :)

Re: Big Issue with rio menu inside of FORM

Posted: 23 Jun 2015, 14:52
by mert.sincan

Re: Big Issue with rio menu inside of FORM

Posted: 24 Jun 2015, 01:09
by ybendek
Issue fixed... thanks

Re: Big Issue with rio menu inside of FORM

Posted: 24 Jun 2015, 22:29
by mert.sincan
Glad to hear, thanks!