Skip to content
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

Virtualmin Domains List in Dropdown Doesn't Hold State #359

Closed
applejack1923 opened this issue Jan 29, 2016 · 5 comments
Closed

Virtualmin Domains List in Dropdown Doesn't Hold State #359

applejack1923 opened this issue Jan 29, 2016 · 5 comments

Comments

@applejack1923
Copy link

Previously in the dropdown list of domains in VM if you chose a domain if you then accessed the drop down list again it would position the list at that domain not at the top as is now. It makes it easier to manage things such as sub -servers and aliases etc if the list position is kept at the current selection.

@iliajie
Copy link
Collaborator

iliajie commented Jan 29, 2016

I see. It seems that it's default select2 behavior. I doubt that I can/should fix it but I will take a look.

Why not using dropdown search? Are you searching domains manually?

@iliajie
Copy link
Collaborator

iliajie commented Jan 29, 2016

However, I just looked at the select2 demo pages and it seems that the position of the dropdwon is saved. I will check and update to the latest version, probably this is what is causing the issue.

@iliajie
Copy link
Collaborator

iliajie commented Jan 29, 2016

Does the examples work for you as expected or you having an issue?
https://select2.github.io/examples.html

@applejack1923
Copy link
Author

Hi Yes those example work. I'm pretty sure they were working like this anyhow on an earlier version of Authentic but I could of course be mistaken.

@iliajie
Copy link
Collaborator

iliajie commented Jan 30, 2016

I found out why it's happening. Of course, the select and content are rebuild each time. I found the way to fix this bug and make it work expected way.

Thanks for reporting.

@iliajie iliajie closed this as completed Jan 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants