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

Disabling "move all" function #157

Open
naclop opened this issue Jan 21, 2020 · 2 comments
Open

Disabling "move all" function #157

naclop opened this issue Jan 21, 2020 · 2 comments

Comments

@naclop
Copy link

naclop commented Jan 21, 2020

Hi there! Great job!!
A simple question: is there anyway to "turn off" the "move all" button/action.

Thank you!!

@itdevtech
Copy link

You can play a dirty hack with Library Code by add some lines
find function setBtnRemoveAllText
add this before return statement
if (this.settings.removeAllLabel == null
|| this.settings.removeAllLabel == "") {
this.elements.removeAllButton.hide();//do what you want hide or disable
}
do this
$('.dualbox-list').bootstrapDualListbox({
...
removeAllLabel: "",
....
});

same thing can be done with other buttons

@naclop
Copy link
Author

naclop commented Jan 31, 2020

Great, I'll try it that way.
Thank you!

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