Picture of Matt Leathes
Re: Confirmation popup and navigate to concerned branch
by Matt Leathes - Friday, 16 March 2018, 4:13 PM
 

Well in that case it'll probably help to know that you can use the _isAvailable property to set a particular page as being available to the learner or not.

Naturally, it's set to true by default so you just need to set it to false for any page you don't want to be available to the learner.

For example, to make a page with id co-05 'unavailable':

Adapt.findById('co-05').set('_isAvailable', false);

Hope this helps