Skip to content

Local copy of "select.js", and an option to toggle checking updates in admin settings #409

Answered by Difegue
dudeitssm asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for bringing the select.js thing to my attention! 😳
I believe it was inserted when I was iterating on the Jump to Page combobox, but the final code doesn't actually use it. I'll be pushing a commit to simply remove this include in index.html.tt2 later.

For the update check, there's already a conditional to disable it here, but it currently checks for debug mode.
I wouldn't mind having this moved to a dedicated pref at all.

Adding new options is fairly straightforward! This recent commit 1abce98 deletes an option, but it gives you an idea of what you need. Here's a super quick breakdown:

  • Modify lib/LANraragi/Model/Config.pm to add a sub for your pref: Something like sub get_autoupd…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dudeitssm
Comment options

@dudeitssm
Comment options

@Difegue
Comment options

Answer selected by dudeitssm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants