-
Notifications
You must be signed in to change notification settings - Fork 60
Resolution to QR code scanning issue #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Fix javascript QR code selection
Fix sidebar not being updated when spool selecting by QR Code
Display the SpoolManager tab when scanning a spoolManager barcode
Perform tab switch after selectSpool to allow page to finish loading
This probably wants a squash commit |
// - Open SpoolItem | ||
self.apiClient.callSelectSpool(selectedSpoolId, function(responseData){ | ||
//Select the SpoolManager tab | ||
$('a[href="#tab_plugin_SpoolManager"]').tab('show') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OllisGit Do you know if there Is there a better way of doing this?
Fixes OllisGit#111 using relative pathing, It might be better to do this using jinja native but I can't currently find a basepath reference
Also fixes #111 |
Use flask's url_for instead of hard coding
Url_for needs full class pathing
Use proper routing parsing for generateQRCode
Can't use fully qualified procedure reference as we don't know the params yet
Fix incorrect plugin path
QR code was using internal URL
Added some general quality of life improvements (mainly url_for), this might want to be a squash/refactored commit |
Thanks a lot for the PR! My fix looks similar!. |
@OllisGit Any chance of a version bump to pull this into 1.3.4? It's working off master but not of 1.3.3 |
Adjusts the javascript handling to fix the tab change mechanic as described in #114
Resolves absolute pathing issues from #111
General quality of life codes fixes within QR code