Permalink
Browse files

Merge pull request #21 from Justineo/patch-1

Update src/esui/Select.js
  • Loading branch information...
2 parents 09f3d2a + 1fd1ef4 commit 88d7d411194d2b28905ffa4e58ad0e5485ae1bd0 @leeight leeight committed Dec 14, 2012
Showing with 4 additions and 5 deletions.
  1. +4 −5 src/esui/Select.js
View
9 src/esui/Select.js
@@ -424,17 +424,16 @@ esui.Select.prototype = {
value = selected.value;
}
-
- this.selectedIndex = index;
- this.value = value;
-
if (
opt_isDispatch === true
&& this.onchange( value, selected ) === false
) {
return;
}
-
+
+ this.selectedIndex = index;
+ this.value = value;
+
this._repaint();
},

0 comments on commit 88d7d41

Please sign in to comment.