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

sortOptions not working for me. #81

Open
ricmetal opened this issue Sep 23, 2014 · 0 comments
Open

sortOptions not working for me. #81

ricmetal opened this issue Sep 23, 2014 · 0 comments

Comments

@ricmetal
Copy link

hi, i hope i'm not missing anything, but i don't think there should be anything i'm missing. the problem i'm having is a mere comment/uncomment problem. if i uncomment the sortOptions lines below the script works fine. Once i uncomment them, the script halts.
any idea why?
thanks!

$('#uploadPic_select').addOption(albName, albName);
$('#manageAlbum_select').addOption(albName, albName, false);
// $('#uploadPic_select').sortOptions(true);
//$('#manageAlbum_select').sortOptions(true);
$('#uploadPic_select').removeOption('createAlbum_select').addOption('createAlbum_select', ls_ca_optn, false);

clearLoadingMessage(); // hides a modal, nothing to do with the select
$('#createAlbumModal_div').jqmHide(); // hides a modal, nothing to do with the select
outputSuccess(ls_acs_txt); // open a modal, nothing to do with select
return false;

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

1 participant