<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -63,13 +63,14 @@ Control.SelectMultiple = Class.create({
 	},
 	setValue: function(value_string){
 		this.numberOfCheckedBoxes = 0;
-		(value_string.split ? value_string.split(this.options.valueSeparator) : value_string).each(function(value){
-			this.checkboxes.each(function(checkbox){
+		var value_collection = $A(value_string.split ? value_string.split(this.options.valueSeparator) : value_string)
+		this.checkboxes.each(function(checkbox){
+			checkbox.checked = false;
+			value_collection.each(function(value){
 				if(checkbox.value == value){
 					++this.numberOfCheckedBoxes;
 					checkbox.checked = true;
-				}else
-					checkbox.checked = false;
+				}
 			}.bind(this));
 		}.bind(this));
 		this.scanCheckBoxes();</diff>
      <filename>src/selectmultiple.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>99cdc8044fa0b78dae041d3846819bfadefc4751</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Johnson</name>
    <email>arjini@gmail.com</email>
  </author>
  <url>http://github.com/saucytiger/livepipe-ui/commit/52d2af575c2b392ad41bce8cc4d21f1eb7b6b629</url>
  <id>52d2af575c2b392ad41bce8cc4d21f1eb7b6b629</id>
  <committed-date>2008-09-09T11:35:52-07:00</committed-date>
  <authored-date>2008-09-09T11:35:52-07:00</authored-date>
  <message>allowed Control.SelectMultiple to properly set multiple ids on initialization, fix courtesy sheuer</message>
  <tree>c269fdaa8ca51c129221dce6b72005a646cff62d</tree>
  <committer>
    <name>Ryan Johnson</name>
    <email>arjini@gmail.com</email>
  </committer>
</commit>
