<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -153,7 +153,7 @@ SC.SelectionSupport = {
   */
   hasSelection: function() {
     var sel = this.get('selection') ;
-    return sel &amp;&amp; (sel.get('length') &gt; 0) ;
+    return !!sel &amp;&amp; (sel.get('length') &gt; 0) ;
   }.property('selection')
     
 };</diff>
      <filename>mixins/selection_support.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>687d16745384512419ff889c90edcea2814d0eda</id>
    </parent>
  </parents>
  <author>
    <name>Erich Ocean</name>
    <email>erich@atlasocean.com</email>
  </author>
  <url>http://github.com/mauritslamers/sproutcore/commit/b61f1b027f603f56a7f7681df48f7eee67d9ce4c</url>
  <id>b61f1b027f603f56a7f7681df48f7eee67d9ce4c</id>
  <committed-date>2008-09-30T02:21:05-07:00</committed-date>
  <authored-date>2008-09-30T02:21:05-07:00</authored-date>
  <message>Fix [178]: SC.CollectionController.hasSelection() does not return anything when there is no content</message>
  <tree>9e78d4947cef1a30129f1cb02f00dacae3fb2584</tree>
  <committer>
    <name>Erich Ocean</name>
    <email>erich@atlasocean.com</email>
  </committer>
</commit>
