Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function expandExpandoSection(groupId) {
- var listGroup = getListGroup(groupId);
- var expando = getExpandoButton(groupId);
- listGroup.removeClass('invisible');
- expando.removeClass('glyphicon-plus-sign');
- expando.addClass('glyphicon-minus-sign');
- }
- function toggleExpandoSection(groupId) {
- var listGroup = getListGroup(groupId);
- if (listGroup.hasClass('invisible')) {
- expandExpandoSection(groupId);
- } else {
- collapseExpandoSection(groupId);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement