Orphaned Pages Script Error
I've created a new Voodoopad document and pasted in the code from here:
https://www.voodoopad.com/documentation/page-events/
into my VPPageEventScript page
When I open the "Orphaned Pages" page the console in VP opens with the following text:
TypeError: keys.length is not a function. (In 'keys.length()', 'keys.length' is 5)
line: 9
column: 32
And orphaned pages are not displayed.
Anyone know what the problem might be? This is a new VP doc and does have orphaned pages. I'm assuming something's wrong with the VPPageEventScript script for orphaned pages.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Sarah on 28 Aug, 2018 05:00 PM
Hi svs,
This code should work instead:
the
keys.length()
has been replaced withkeys.length
. I apologize for the trouble. We will update the documentation as soon as we can. Let me know if you run into anymore issues.2 Posted by svs on 28 Aug, 2018 08:21 PM
Thank you so much, that worked perfectly!
svs closed this discussion on 29 Aug, 2018 05:57 PM.