Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. function expandExpandoSection(groupId) {
  2. var listGroup = getListGroup(groupId);
  3. var expando = getExpandoButton(groupId);
  4.  
  5. listGroup.removeClass('invisible');
  6. expando.removeClass('glyphicon-plus-sign');
  7. expando.addClass('glyphicon-minus-sign');
  8. }
  9.  
  10. function toggleExpandoSection(groupId) {
  11. var listGroup = getListGroup(groupId);
  12.  
  13. if (listGroup.hasClass('invisible')) {
  14. expandExpandoSection(groupId);
  15. } else {
  16. collapseExpandoSection(groupId);
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement