-
Notifications
You must be signed in to change notification settings - Fork 476
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
handle_dropdown_popup_scroll is not defined on permissions-manage.xhtml
#5653
Comments
This function was added as part of commit ca9d9b9 for #4343, to the harvestclients, manage-groups, permissions-manage-files, provenance-popups-fragment, and role-assign pgs. It resolves a scrolling issue with the dynamic dropdown menu for Found the same reference errors on permissions-manage-files and manage-groups, but not harvestclients. Not sure what's going on here exactly. |
@mheppler Thanks for taking a look. This installation didn't have enough users that the dropdown would need to scroll (and for what it's worth, didn't have analytics enabled). |
On only one test machine, build, clicking save changes on the edit groups popup does not update list view and does not close popup but does save changes if cancel, then reload page. The browser error in Chrome was: @mheppler Also saw this error in FF, which was in the analytics code: |
The XML parsing error is complaining about Line 150, and if you look in the browser page source for the manage groups pg on dvn-build, that line is the analytics code. The dvn-build server has the analytics code configured, and you see the XML error, demo does not have the analytics code, and there is no error. There appears to be some javascript strangeness in the dataverse manage groups workflows, and it's probably worth investigating and resolving them all together. |
Due to UI bug this new console error is related to, I have spun it off into a new issue Manage Groups - Dialog popup does not close on save, action saved by system #6792. I hope that both console errors can still be resolved together. |
Rediscovered this javascript issue while looking at other javascript issues. Got a quick fix. Rather than putting the calls to this function on every page that uses it with the following code:
I have instead moved that call to the
The reason you are seeing the ReferenceError in the console was because the inline code block under each autoComplete component was getting called before the javascript file was being loaded at the bottom of the page...
Now that the Originally this code was added to the provenance code ca9d9b9 and other places where the autoComplete component is used.
This will be a good feature to revisit when working on Improve (simplify) Primefaces (Ajax) / Bootstrap interaction #7565. |
…t gets called correctly when doc is ready [ref #5653]
On 1178-1a12cda
Does not appear to prevent any functionality (was still able to modify user permissions on that page). Have not investigated sufficiently to see if it's related to #5589 , but that would be plausible.
<script type="text/javascript" defer="defer" src="/javax.faces.resource/js/dv_rebind_bootstrap_ui.js.xhtml?version=4.10.1"></script>
present in generated htmlThe text was updated successfully, but these errors were encountered: