Skip to content

Commit

Permalink
fixed bug: Sometimes, the parameter 'isSilent' of selectNode() method…
Browse files Browse the repository at this point in the history
… was not work .
  • Loading branch information
ztree committed Jun 6, 2016
1 parent e2ff2f5 commit 1cab309
Show file tree
Hide file tree
Showing 16 changed files with 48 additions and 45 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jQuery Tree Plugin ---- zTree
============
last verson : 3.5.23
last verson : 3.5.24


**Donate to zTree** : http://www.ztree.me/v3/donate.php
Expand Down
2 changes: 1 addition & 1 deletion api/API_cn.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<div class="ieSuggest">浏览本网站建议您使用 Chrome、FireFox、Opera、IE9 等浏览器(只要不是 IE6 7 8 就行), 速度会更快,画面会更炫!</div>
<div class="google_plus"><g:plusone></g:plusone></div>
<div class="header-text">
<h1><em>zTree v3.5.23 API 文档</em></h1><p></p>
<h1><em>zTree v3.5.24 API 文档</em></h1><p></p>
<p>all.js = core + excheck + exedit ( 不包括 exhide ); 发现错误请及时通知,谢谢。</p>
</div>
<ul class="shortcuts language" style="top:0;">
Expand Down
2 changes: 1 addition & 1 deletion api/API_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div class="ieSuggest">If you use the Chrome / FireFox / Opera / IE9 browser will be even more dazzling effect!</div>
<div class="google_plus"><g:plusone></g:plusone></div>
<div class="header-text">
<h1><em>zTree v3.5.23 API Document</em></h1><p></p>
<h1><em>zTree v3.5.24 API Document</em></h1><p></p>
<p>all.js = core + excheck + exedit ( without exhide ); if you found some mistakes please contact me.</p>
</div>
<ul class="shortcuts language" style="top:0;">
Expand Down
10 changes: 5 additions & 5 deletions api/apiCss/jquery.ztree.core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions js/jquery.ztree.all.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/*
* JQuery zTree core v3.5.23
* JQuery zTree core v3.5.24
* http://zTree.me/
*
* Copyright (c) 2010 Hunter.z
Expand All @@ -9,7 +9,7 @@
* http://www.opensource.org/licenses/mit-license.php
*
* email: [email protected]
* Date: 2016-04-01
* Date: 2016-06-06
*/
(function($){
var settings = {}, roots = {}, caches = {},
Expand Down Expand Up @@ -1772,7 +1772,7 @@
addFlag = setting.view.selectedMulti && addFlag;
if (node.parentTId) {
view.expandCollapseParentNode(setting, node.getParentNode(), true, false, showNodeFocus);
} else {
} else if (!isSilent) {
try{$$(node, setting).focus().blur();}catch(e){}
}
view.selectNode(setting, node, addFlag);
Expand Down Expand Up @@ -1821,7 +1821,7 @@
consts = zt.consts;
})(jQuery);
/*
* JQuery zTree excheck v3.5.23
* JQuery zTree excheck v3.5.24
* http://zTree.me/
*
* Copyright (c) 2010 Hunter.z
Expand All @@ -1830,7 +1830,7 @@
* http://www.opensource.org/licenses/mit-license.php
*
* email: [email protected]
* Date: 2016-04-01
* Date: 2016-06-06
*/
(function($){
//default consts of excheck
Expand Down Expand Up @@ -2449,7 +2449,7 @@
}
})(jQuery);
/*
* JQuery zTree exedit v3.5.23
* JQuery zTree exedit v3.5.24
* http://zTree.me/
*
* Copyright (c) 2010 Hunter.z
Expand All @@ -2458,7 +2458,7 @@
* http://www.opensource.org/licenses/mit-license.php
*
* email: [email protected]
* Date: 2016-04-01
* Date: 2016-06-06
*/
(function($){
//default consts of exedit
Expand Down
Loading

0 comments on commit 1cab309

Please sign in to comment.