If anything it just makes me more curious. It would appear that the code is being run through with no errors but for some odd reason the line to hide everything is doing nothing. Again, I pulled that directly from the bootstrap documentation on their site so I don't see why it wouldn't work.
Would you mind moving some things around to test a few more things? I'd suggest changing the declaration of the $showAll variable to 'true' instead of 'false'. This should mean it will first try to collapse/hide first, then expand on the 2nd click. I also wonder what happens if you reverse my if/else statement to check for == false first (the lines inside of each clause need to be switched as well).
And of course just check the log during your clicks. If still no avail then I'll re-investigate this when I get home. I truly hate being defeated by code
"Given billions of tries, could a spilled bottle of ink ever fall into the words of Shakespeare?"