Skip to content

Commit fa7adad

Browse files
DreamltfDreamltf
authored andcommitted
Issue 2: onSelectChange error
1 parent cc132db commit fa7adad

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ jQueryMultipleSelectBox Change Log
33
Version -
44
====================
55
.Add isFilterEnabled
6+
7+
Version 0.8.2
8+
====================
69
.Remove getMultipleSelectBoxHistory's isReNew parameter
710
.Add method: clearMultipleSelectBoxHistory and refreshMultipleSelectBox
811
.Fix bug: serialize submit field after initializing
12+
.Issue 2: onSelectChange error
913

1014
Version 0.8.1
1115
====================

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project name="jquery.multipleselectbox" default="deploy" basedir=".">
33

4-
<property name="version" value="0.8.1" />
4+
<property name="version" value="0.8.2" />
55
<!-- Google Closure Compiler (http://dl.google.com/closure-compiler/compiler-latest.zip) -->
66
<property name="compressorPath" location="../../ex_js/compiler-20140513/compiler.jar" />
77
<tstamp>

jQueryMultipleSelectBox.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jQueryMultipleSelectBox",
3-
"version": "0.8.1",
3+
"version": "0.8.2",
44
"title": "jQueryMultipleSelectBox",
55
"author": {
66
"name": "h920526",

js/jquery.multipleselectbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@
119119
* @return jQuery
120120
*/
121121
"getMultipleSelectBoxSelectedRows": function() {
122-
return $.grep(this.getMultipleSelectBoxCachedRows(), function(row) {
122+
return this.pushStack($.grep(this.getMultipleSelectBoxCachedRows(), function(row) {
123123
var $childRow = $(row);
124124
return ($childRow.isMultipleSelectBoxRowSelectable() && $childRow.isMultipleSelectBoxRowSelected());
125-
});
125+
}));
126126
},
127127

128128
/**

0 commit comments

Comments
 (0)