Forum Discussion
reviewModeIsReadOnly() is not defined
- 3 years ago
For anyone following this topic. This bug has been resolved. The references to the removed reviewModeIsReadOnly() function have been updated to test the global constant REVIEW_MODE_IS_READ_ONLY.
Thanks Hazel, that's interesting. It's nice to see some of these things being configurable at deploy time.
REVIEW_MODE_IS_READ_ONLY = false;
Will be very handy for when you don't need to achieve anything to complete a topic. For example I have clients with informational courses that you only really need to open to complete. If you set:
Track using course completion = 0%
It works in that you have a course that you don't have to visit every page in, or complete a quiz to complete, however by default returning to this topic will forever after take you back to the page you first exited from and never increase your completion percentage in the left hand navigation.
Continuing to track progress after the topic has first been opened and closed will allow the course to remember the page that people were last on between views and indicate exactly how much of the topic they have engaged with over time.
Hopefully driverOptions.js will be extended over time with other options. It would be a great place for Articulate to test features and gather community feedback before baking them into the UI. A bit like feature flags in web browsers.
I think the issue of the refernce to reviewModeIsReadOnly() though is just a simple bug as this function used to exist and doesn't now. It's just a matter of updating preloadIntegrity.js to use REVIEW_MODE_IS_READ_ONLY.
BTW as a quick side note. The format of driverOptions.js has changed since this article was written. It would be great if it could be updated to match the current way you are loading driver options.
Regards,
Andrew
- hazelB4 years agoStaff
Hi Andrew! Thanks so much for your feedback -- I logged case 02979351 for you regarding the change in the format of driverOptions.js. Our technical support engineer will take a look at this further. You'll receive an email from them.