HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: JoKy on June 30, 2016, 03:06:44 PM

Title: Group redirect
Post by: JoKy on June 30, 2016, 03:06:44 PM
Hi,
I configured widget for "room status" summary. The idea is to have summary sheet for every room devices together.
If I click on room name I would be navigated to "room dashboard" (separate group page).

Please can anybody help me or give me some hint how to get correct link (or script) to "jump" from one "group page" to another ?

Thank you

Title: Re: Group redirect
Post by: Gene on June 30, 2016, 05:12:19 PM
Code: [Select]
var groupIndex = 0; // show the first control group
HG.WebApp.Control.ShowGroup(groupIndex);
// the following is only needed if request is coming from a page different than the control page
$.mobile.pageContainer.pagecontainer('change', '#page_control', { transition: 'none' });