1
-
2
1
/*
3
- * JQuery zTree core v3.5.41
2
+ * JQuery zTree core
3
+ * v3.5.42
4
4
* http://treejs.cn/
5
5
*
6
6
* Copyright (c) 2010 Hunter.z
7
7
*
8
8
* Licensed same as jquery - MIT License
9
9
* http://www.opensource.org/licenses/mit-license.php
10
10
*
11
- * Date: 2020-01-06
11
+ * Date: 2020-01-19
12
12
*/
13
+
13
14
( function ( $ ) {
14
15
var settings = { } , roots = { } , caches = { } ,
15
16
//default consts of core
1358
1359
var icon = ( isParent && node . iconOpen && node . iconClose ) ? ( node . open ? node . iconOpen : node . iconClose ) : node [ setting . data . key . icon ] ;
1359
1360
if ( icon ) icoStyle . push ( "background:url(" , icon , ") 0 0 no-repeat;" ) ;
1360
1361
if ( setting . view . showIcon == false || ! tools . apply ( setting . view . showIcon , [ setting . treeId , node ] , true ) ) {
1361
- icoStyle . push ( "width:0px;height:0px ;" ) ;
1362
+ icoStyle . push ( "display:none ;" ) ;
1362
1363
}
1363
1364
}
1364
1365
return icoStyle . join ( '' ) ;
1430
1431
if ( ! dom ) {
1431
1432
return ;
1432
1433
}
1433
- // support IE 7
1434
- if ( typeof Element === 'undefined' ) {
1434
+ // support IE 7 / 8
1435
+ if ( typeof Element === 'undefined' || typeof HTMLElement === 'undefined' ) {
1435
1436
var contRect = setting . treeObj . get ( 0 ) . getBoundingClientRect ( ) ,
1436
1437
findMeRect = dom . getBoundingClientRect ( ) ;
1437
1438
if ( findMeRect . top < contRect . top || findMeRect . bottom > contRect . bottom
1985
1986
consts = zt . consts ;
1986
1987
} ) ( jQuery ) ;
1987
1988
/*
1988
- * JQuery zTree excheck v3.5.41
1989
+ * JQuery zTree excheck
1990
+ * v3.5.42
1989
1991
* http://treejs.cn/
1990
1992
*
1991
1993
* Copyright (c) 2010 Hunter.z
1992
1994
*
1993
1995
* Licensed same as jquery - MIT License
1994
1996
* http://www.opensource.org/licenses/mit-license.php
1995
1997
*
1996
- * Date: 2020-01-06
1998
+ * Date: 2020-01-19
1997
1999
*/
2000
+
1998
2001
( function ( $ ) {
1999
2002
//default consts of excheck
2000
2003
var _consts = {
2635
2638
}
2636
2639
} ) ( jQuery ) ;
2637
2640
/*
2638
- * JQuery zTree exedit v3.5.41
2641
+ * JQuery zTree exedit
2642
+ * v3.5.42
2639
2643
* http://treejs.cn/
2640
2644
*
2641
2645
* Copyright (c) 2010 Hunter.z
2642
2646
*
2643
2647
* Licensed same as jquery - MIT License
2644
2648
* http://www.opensource.org/licenses/mit-license.php
2645
2649
*
2646
- * Date: 2020-01-06
2650
+ * Date: 2020-01-19
2647
2651
*/
2652
+
2648
2653
( function ( $ ) {
2649
2654
//default consts of exedit
2650
2655
var _consts = {
3835
3840
}
3836
3841
return ( ! root . curEditNode ) && ( _uCanDo ? _uCanDo . apply ( view , arguments ) : true ) ;
3837
3842
}
3838
- } ) ( jQuery ) ;
3843
+ } ) ( jQuery ) ;
0 commit comments