Skip to content

Commit

Permalink
Fix callback index
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyleung committed May 5, 2017
1 parent 7e47dfa commit 9a1b4fa
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions dist/jquery.bizui.js
Original file line number Diff line number Diff line change
Expand Up @@ -13115,7 +13115,7 @@
newValue: newValue,
field: field,
item: self.options.data[rowIndex],
index: rowIndex
index: rowIndex + 1
}, e);
});
},
Expand All @@ -13131,7 +13131,7 @@
newValue: newValue,
field: field,
item: self.options.data[rowIndex],
index: rowIndex
index: rowIndex + 1
}, e);
});
},
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.bizui.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="#" class="active">BizUI</a>
<a href="pages/tutorial.html">起步</a>
<a href="pages/components.html">组件</a>
<a class="github" href="https://github.com/bizdevfe/biz-ui/releases" target="_blank">GitHub&nbsp;&nbsp;v1.5.0</a>
<a class="github" href="https://github.com/bizdevfe/biz-ui/releases" target="_blank">GitHub&nbsp;&nbsp;v1.5.1</a>
<a href="https://github.com/bizdevfe/biz-ui-react" target="_blank">React</a>
<a href="https://github.com/bizdevfe/biz-ui-mobile" target="_blank">Mobile</a>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "biz-ui",
"version": "1.5.0",
"version": "1.5.1",
"description": "A jQuery plugin for business UI components",
"author": "BizFE",
"main": "dist/jquery.bizui.js",
Expand Down
2 changes: 1 addition & 1 deletion pages/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a href="../index.html">BizUI</a>
<a href="tutorial.html">起步</a>
<a href="#" class="active">组件</a>
<a class="github" href="https://github.com/bizdevfe/biz-ui/releases" target="_blank">GitHub&nbsp;&nbsp;v1.5.0</a>
<a class="github" href="https://github.com/bizdevfe/biz-ui/releases" target="_blank">GitHub&nbsp;&nbsp;v</a>
<a href="https://github.com/bizdevfe/biz-ui-react" target="_blank">React</a>
<a href="https://github.com/bizdevfe/biz-ui-mobile" target="_blank">Mobile</a>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion pages/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<a href="../index.html">BizUI</a>
<a href="#" class="active">起步</a>
<a href="components.html">组件</a>
<a class="github" href="https://github.com/bizdevfe/biz-ui/releases" target="_blank">GitHub&nbsp;&nbsp;v1.5.0</a>
<a class="github" href="https://github.com/bizdevfe/biz-ui/releases" target="_blank">GitHub&nbsp;&nbsp;v</a>
<a href="https://github.com/bizdevfe/biz-ui-react" target="_blank">React</a>
<a href="https://github.com/bizdevfe/biz-ui-mobile" target="_blank">Mobile</a>
</nav>
Expand Down
4 changes: 2 additions & 2 deletions src/ui/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ Table.prototype = {
newValue: newValue,
field: field,
item: self.options.data[rowIndex],
index: rowIndex
index: rowIndex + 1
}, e);
});
},
Expand All @@ -740,7 +740,7 @@ Table.prototype = {
newValue: newValue,
field: field,
item: self.options.data[rowIndex],
index: rowIndex
index: rowIndex + 1
}, e);
});
},
Expand Down

0 comments on commit 9a1b4fa

Please sign in to comment.