title: Bootstrap accordion/collapsible not working with ul/li navigation
body: <p>Im using latest bootstrap, and accordion is not working at all.. I mean, when i open Test 1 with nested 'ul', it toggles, but then when i click on test 2 with another nested 'ul', it toggles also,but without closing test 1... </p>
  
  <p>Any one can help me ? It looks like it wont work with 'ul' and 'li' (without panel class).</p>
  
  <p>Thanks in advance.</p>
  
  <p>p.s. Here is the complete code of my accordion try.. Everything is working except auto closing previous opened.</p>
  
  <p><a href="http://jsbin.com/OKOjUlu/1/edit?html,output" rel="noreferrer">http://jsbin.com/OKOjUlu/1/edit?html,output</a></p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="page-header"&gt;
          &lt;h3&gt;Proizvodi&lt;/h3&gt;
  
      &lt;/div&gt;
      &lt;div class="col-md-3"&gt;
          &lt;ul class="nav nav-stacked" id="accordion1"&gt;
              &lt;li&gt; &lt;a data-toggle="collapse" data-parent="#accordion1" href="#firstLink"&gt;Test12&lt;/a&gt;
  
                  &lt;ul id="firstLink" class="collapse"&gt;
                      &lt;li&gt;SubTest1&lt;/li&gt;
                      &lt;li&gt;SubTest1&lt;/li&gt;
                      &lt;li&gt;SubTest1&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/li&gt;
              &lt;li&gt; &lt;a data-toggle="collapse" data-parent="#accordion1" href="#secondLink"&gt;Test2&lt;/a&gt;
  
                  &lt;ul id="secondLink" class="collapse"&gt;
                      &lt;li&gt;SubTest2&lt;/li&gt;
                      &lt;li&gt;SubTest2&lt;/li&gt;
                      &lt;li&gt;SubTest2&lt;/li&gt;
                      &lt;li&gt;SubTest2&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Test1&lt;/a&gt;
              &lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Test1&lt;/a&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div class="col-md-9"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>