jstree-rails-4 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/jstree-rails-4/version.rb +1 -1
- data/vendor/assets/javascripts/jstree.js +25 -36
- data/vendor/assets/stylesheets/jstree-default-dark.scss +21 -21
- data/vendor/assets/stylesheets/jstree-default.scss +21 -21
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1e9d439c433e0e91591181a28c2d1566af266d5
|
4
|
+
data.tar.gz: 01462dc6cff505dfe2d6b9d0b45680a1fc044ee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b491753a2641a14febe0fbc791394d4afe40b067e9009488e3a0ad1a6659eae1a3a6454930f44739ee0c0d82d8f5d78711a8b87bd7e4788cd070d46e91abb3
|
7
|
+
data.tar.gz: 3b04097c8b81b31cb62175437bbdc2196423211c2daacd38612252544de7b0090aaf17a8a6427f68f259fd03ce8dbf3dbd9a2df9e5808740de617c84dbd6785d
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
}(function ($, undefined) {
|
14
14
|
"use strict";
|
15
15
|
/*!
|
16
|
-
* jsTree 3.2.
|
16
|
+
* jsTree 3.2.1
|
17
17
|
* http://jstree.com/
|
18
18
|
*
|
19
19
|
* Copyright (c) 2014 Ivan Bozhanov (http://vakata.com)
|
@@ -28,6 +28,7 @@
|
|
28
28
|
|
29
29
|
// prevent another load? maybe there is a better way?
|
30
30
|
if($.jstree) {
|
31
|
+
return;
|
31
32
|
}
|
32
33
|
|
33
34
|
/**
|
@@ -70,7 +71,7 @@
|
|
70
71
|
* specifies the jstree version in use
|
71
72
|
* @name $.jstree.version
|
72
73
|
*/
|
73
|
-
version : '3.2.
|
74
|
+
version : '3.2.1',
|
74
75
|
/**
|
75
76
|
* holds all the default options used when creating new instances
|
76
77
|
* @name $.jstree.defaults
|
@@ -672,7 +673,7 @@
|
|
672
673
|
e.preventDefault();
|
673
674
|
this.element.find('.jstree-anchor').filter(':visible').last().focus();
|
674
675
|
break;
|
675
|
-
|
676
|
+
/*!
|
676
677
|
// delete
|
677
678
|
case 46:
|
678
679
|
e.preventDefault();
|
@@ -2581,6 +2582,7 @@
|
|
2581
2582
|
*/
|
2582
2583
|
this.trigger("after_open", { "node" : obj });
|
2583
2584
|
}
|
2585
|
+
return true;
|
2584
2586
|
}
|
2585
2587
|
},
|
2586
2588
|
/**
|
@@ -2897,7 +2899,7 @@
|
|
2897
2899
|
* @name hide_all()
|
2898
2900
|
* @trigger hide_all.jstree
|
2899
2901
|
*/
|
2900
|
-
hide_all : function (
|
2902
|
+
hide_all : function (skip_redraw) {
|
2901
2903
|
var i, m = this._model.data, ids = [];
|
2902
2904
|
for(i in m) {
|
2903
2905
|
if(m.hasOwnProperty(i) && i !== $.jstree.root && !m[i].state.hidden) {
|
@@ -2906,7 +2908,9 @@
|
|
2906
2908
|
}
|
2907
2909
|
}
|
2908
2910
|
this._model.force_full_redraw = true;
|
2909
|
-
|
2911
|
+
if(!skip_redraw) {
|
2912
|
+
this.redraw();
|
2913
|
+
}
|
2910
2914
|
/**
|
2911
2915
|
* triggered when all nodes are hidden
|
2912
2916
|
* @event
|
@@ -2921,7 +2925,7 @@
|
|
2921
2925
|
* @name show_all()
|
2922
2926
|
* @trigger show_all.jstree
|
2923
2927
|
*/
|
2924
|
-
show_all : function (
|
2928
|
+
show_all : function (skip_redraw) {
|
2925
2929
|
var i, m = this._model.data, ids = [];
|
2926
2930
|
for(i in m) {
|
2927
2931
|
if(m.hasOwnProperty(i) && i !== $.jstree.root && m[i].state.hidden) {
|
@@ -2930,7 +2934,9 @@
|
|
2930
2934
|
}
|
2931
2935
|
}
|
2932
2936
|
this._model.force_full_redraw = true;
|
2933
|
-
|
2937
|
+
if(!skip_redraw) {
|
2938
|
+
this.redraw();
|
2939
|
+
}
|
2934
2940
|
/**
|
2935
2941
|
* triggered when all nodes are shown
|
2936
2942
|
* @event
|
@@ -4943,12 +4949,12 @@
|
|
4943
4949
|
var p = this.get_node(data.parent),
|
4944
4950
|
m = this._model.data,
|
4945
4951
|
i, j, c, tmp, t = this.settings.checkbox.tie_selection;
|
4946
|
-
while(p && p.id !== $.jstree.root) {
|
4952
|
+
while(p && p.id !== $.jstree.root && !p.state[ t ? 'selected' : 'checked' ]) {
|
4947
4953
|
c = 0;
|
4948
4954
|
for(i = 0, j = p.children.length; i < j; i++) {
|
4949
4955
|
c += m[p.children[i]].state[ t ? 'selected' : 'checked' ];
|
4950
4956
|
}
|
4951
|
-
if(c === j) {
|
4957
|
+
if(j > 0 && c === j) {
|
4952
4958
|
p.state[ t ? 'selected' : 'checked' ] = true;
|
4953
4959
|
this._data[ t ? 'core' : 'checkbox' ].selected.push(p.id);
|
4954
4960
|
tmp = this.get_node(p, true);
|
@@ -4971,12 +4977,12 @@
|
|
4971
4977
|
p, c, i, j, tmp, t = this.settings.checkbox.tie_selection;
|
4972
4978
|
if(!is_multi) {
|
4973
4979
|
p = this.get_node(old_par);
|
4974
|
-
while(p && p.id !== $.jstree.root) {
|
4980
|
+
while(p && p.id !== $.jstree.root && !p.state[ t ? 'selected' : 'checked' ]) {
|
4975
4981
|
c = 0;
|
4976
4982
|
for(i = 0, j = p.children.length; i < j; i++) {
|
4977
4983
|
c += m[p.children[i]].state[ t ? 'selected' : 'checked' ];
|
4978
4984
|
}
|
4979
|
-
if(c === j) {
|
4985
|
+
if(j > 0 && c === j) {
|
4980
4986
|
p.state[ t ? 'selected' : 'checked' ] = true;
|
4981
4987
|
this._data[ t ? 'core' : 'checkbox' ].selected.push(p.id);
|
4982
4988
|
tmp = this.get_node(p, true);
|
@@ -5581,7 +5587,7 @@
|
|
5581
5587
|
"separator_after" : false,
|
5582
5588
|
"_disabled" : false, //(this.check("rename_node", data.reference, this.get_parent(data.reference), "")),
|
5583
5589
|
"label" : "Rename",
|
5584
|
-
|
5590
|
+
/*!
|
5585
5591
|
"shortcut" : 113,
|
5586
5592
|
"shortcut_label" : 'F2',
|
5587
5593
|
"icon" : "glyphicon glyphicon-leaf",
|
@@ -5713,7 +5719,7 @@
|
|
5713
5719
|
}
|
5714
5720
|
});
|
5715
5721
|
|
5716
|
-
|
5722
|
+
/*!
|
5717
5723
|
if(!('oncontextmenu' in document.body) && ('ontouchstart' in document.body)) {
|
5718
5724
|
var el = null, tm = null;
|
5719
5725
|
this.element
|
@@ -6854,7 +6860,7 @@
|
|
6854
6860
|
}
|
6855
6861
|
}
|
6856
6862
|
p = $.vakata.array_remove_item($.vakata.array_unique(p), $.jstree.root);
|
6857
|
-
this._data.search.hdn = this.hide_all();
|
6863
|
+
this._data.search.hdn = this.hide_all(true);
|
6858
6864
|
this.show_node(p);
|
6859
6865
|
}
|
6860
6866
|
}, this))
|
@@ -6945,7 +6951,11 @@
|
|
6945
6951
|
});
|
6946
6952
|
if(r.length) {
|
6947
6953
|
p = $.vakata.array_unique(p);
|
6948
|
-
|
6954
|
+
for(i = 0, j = p.length; i < j; i++) {
|
6955
|
+
if(p[i] !== $.jstree.root && m[p[i]] && this.open_node(p[i], null, 0) === true) {
|
6956
|
+
this._data.search.opn.push(p[i]);
|
6957
|
+
}
|
6958
|
+
}
|
6949
6959
|
if(!append) {
|
6950
6960
|
this._data.search.dom = $(this.element[0].querySelectorAll('#' + $.map(r, function (v) { return "0123456789".indexOf(v[0]) !== -1 ? '\\3' + v[0] + ' ' + v.substr(1).replace($.jstree.idregex,'\\$&') : v.replace($.jstree.idregex,'\\$&'); }).join(', #')));
|
6951
6961
|
this._data.search.res = r;
|
@@ -6998,26 +7008,6 @@
|
|
6998
7008
|
this._data.search.opn = [];
|
6999
7009
|
this._data.search.dom = $();
|
7000
7010
|
};
|
7001
|
-
/**
|
7002
|
-
* opens nodes that need to be opened to reveal the search results. Used only internally.
|
7003
|
-
* @private
|
7004
|
-
* @name _search_open(d)
|
7005
|
-
* @param {Array} d an array of node IDs
|
7006
|
-
* @plugin search
|
7007
|
-
*/
|
7008
|
-
this._search_open = function (d) {
|
7009
|
-
var t = this;
|
7010
|
-
$.each(d.concat([]), function (i, v) {
|
7011
|
-
if(v === $.jstree.root) { return true; }
|
7012
|
-
try { v = $('#' + v.replace($.jstree.idregex,'\\$&'), t.element); } catch(ignore) { }
|
7013
|
-
if(v && v.length) {
|
7014
|
-
if(t.is_closed(v)) {
|
7015
|
-
t._data.search.opn.push(v[0].id);
|
7016
|
-
t.open_node(v, function () { t._search_open(d); }, 0);
|
7017
|
-
}
|
7018
|
-
}
|
7019
|
-
});
|
7020
|
-
};
|
7021
7011
|
|
7022
7012
|
this.redraw_node = function(obj, deep, callback, force_render) {
|
7023
7013
|
obj = parent.redraw_node.apply(this, arguments);
|
@@ -7788,5 +7778,4 @@
|
|
7788
7778
|
} catch(ignore) { }
|
7789
7779
|
}
|
7790
7780
|
|
7791
|
-
return $.fn.jstree;
|
7792
7781
|
}));
|
@@ -395,7 +395,7 @@
|
|
395
395
|
}
|
396
396
|
.jstree-default-dark .jstree-node,
|
397
397
|
.jstree-default-dark .jstree-icon {
|
398
|
-
background-image: url("32px.png");
|
398
|
+
background-image: image-url("default-dark/32px.png");
|
399
399
|
}
|
400
400
|
.jstree-default-dark .jstree-node {
|
401
401
|
background-position: -292px -4px;
|
@@ -500,13 +500,13 @@
|
|
500
500
|
background-position: 0 0;
|
501
501
|
}
|
502
502
|
.jstree-default-dark > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
503
|
-
background: url("throbber.gif") center center no-repeat;
|
503
|
+
background: image-url("default-dark/throbber.gif") center center no-repeat;
|
504
504
|
}
|
505
505
|
.jstree-default-dark .jstree-file {
|
506
|
-
background: url("32px.png") -100px -68px no-repeat;
|
506
|
+
background: image-url("default-dark/32px.png") -100px -68px no-repeat;
|
507
507
|
}
|
508
508
|
.jstree-default-dark .jstree-folder {
|
509
|
-
background: url("32px.png") -260px -4px no-repeat;
|
509
|
+
background: image-url("default-dark/32px.png") -260px -4px no-repeat;
|
510
510
|
}
|
511
511
|
.jstree-default-dark > .jstree-container-ul > .jstree-node {
|
512
512
|
margin-left: 0;
|
@@ -518,7 +518,7 @@
|
|
518
518
|
}
|
519
519
|
#jstree-dnd.jstree-default-dark .jstree-ok,
|
520
520
|
#jstree-dnd.jstree-default-dark .jstree-er {
|
521
|
-
background-image: url("32px.png");
|
521
|
+
background-image: image-url("default-dark/32px.png");
|
522
522
|
background-repeat: no-repeat;
|
523
523
|
background-color: transparent;
|
524
524
|
}
|
@@ -568,7 +568,7 @@
|
|
568
568
|
}
|
569
569
|
.jstree-default-dark-small .jstree-node,
|
570
570
|
.jstree-default-dark-small .jstree-icon {
|
571
|
-
background-image: url("32px.png");
|
571
|
+
background-image: image-url("default-dark/32px.png");
|
572
572
|
}
|
573
573
|
.jstree-default-dark-small .jstree-node {
|
574
574
|
background-position: -295px -7px;
|
@@ -673,13 +673,13 @@
|
|
673
673
|
background-position: 0 0;
|
674
674
|
}
|
675
675
|
.jstree-default-dark-small > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
676
|
-
background: url("throbber.gif") center center no-repeat;
|
676
|
+
background: image-url("default-dark/throbber.gif") center center no-repeat;
|
677
677
|
}
|
678
678
|
.jstree-default-dark-small .jstree-file {
|
679
|
-
background: url("32px.png") -103px -71px no-repeat;
|
679
|
+
background: image-url("default-dark/32px.png") -103px -71px no-repeat;
|
680
680
|
}
|
681
681
|
.jstree-default-dark-small .jstree-folder {
|
682
|
-
background: url("32px.png") -263px -7px no-repeat;
|
682
|
+
background: image-url("default-dark/32px.png") -263px -7px no-repeat;
|
683
683
|
}
|
684
684
|
.jstree-default-dark-small > .jstree-container-ul > .jstree-node {
|
685
685
|
margin-left: 0;
|
@@ -691,7 +691,7 @@
|
|
691
691
|
}
|
692
692
|
#jstree-dnd.jstree-default-dark-small .jstree-ok,
|
693
693
|
#jstree-dnd.jstree-default-dark-small .jstree-er {
|
694
|
-
background-image: url("32px.png");
|
694
|
+
background-image: image-url("default-dark/32px.png");
|
695
695
|
background-repeat: no-repeat;
|
696
696
|
background-color: transparent;
|
697
697
|
}
|
@@ -741,7 +741,7 @@
|
|
741
741
|
}
|
742
742
|
.jstree-default-dark-large .jstree-node,
|
743
743
|
.jstree-default-dark-large .jstree-icon {
|
744
|
-
background-image: url("32px.png");
|
744
|
+
background-image: image-url("default-dark/32px.png");
|
745
745
|
}
|
746
746
|
.jstree-default-dark-large .jstree-node {
|
747
747
|
background-position: -288px 0px;
|
@@ -846,13 +846,13 @@
|
|
846
846
|
background-position: 0 0;
|
847
847
|
}
|
848
848
|
.jstree-default-dark-large > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
849
|
-
background: url("throbber.gif") center center no-repeat;
|
849
|
+
background: image-url("default-dark/throbber.gif") center center no-repeat;
|
850
850
|
}
|
851
851
|
.jstree-default-dark-large .jstree-file {
|
852
|
-
background: url("32px.png") -96px -64px no-repeat;
|
852
|
+
background: image-url("default-dark/32px.png") -96px -64px no-repeat;
|
853
853
|
}
|
854
854
|
.jstree-default-dark-large .jstree-folder {
|
855
|
-
background: url("32px.png") -256px 0px no-repeat;
|
855
|
+
background: image-url("default-dark/32px.png") -256px 0px no-repeat;
|
856
856
|
}
|
857
857
|
.jstree-default-dark-large > .jstree-container-ul > .jstree-node {
|
858
858
|
margin-left: 0;
|
@@ -864,7 +864,7 @@
|
|
864
864
|
}
|
865
865
|
#jstree-dnd.jstree-default-dark-large .jstree-ok,
|
866
866
|
#jstree-dnd.jstree-default-dark-large .jstree-er {
|
867
|
-
background-image: url("32px.png");
|
867
|
+
background-image: image-url("default-dark/32px.png");
|
868
868
|
background-repeat: no-repeat;
|
869
869
|
background-color: transparent;
|
870
870
|
}
|
@@ -899,12 +899,12 @@
|
|
899
899
|
height: 40px;
|
900
900
|
}
|
901
901
|
#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
|
902
|
-
background-image: url("40px.png");
|
902
|
+
background-image: image-url("default-dark/40px.png");
|
903
903
|
background-position: 0 -200px;
|
904
904
|
background-size: 120px 240px;
|
905
905
|
}
|
906
906
|
#jstree-dnd.jstree-dnd-responsive > .jstree-er {
|
907
|
-
background-image: url("40px.png");
|
907
|
+
background-image: image-url("default-dark/40px.png");
|
908
908
|
background-position: -40px -200px;
|
909
909
|
background-size: 120px 240px;
|
910
910
|
}
|
@@ -923,7 +923,7 @@
|
|
923
923
|
*/
|
924
924
|
}
|
925
925
|
.jstree-default-dark-responsive .jstree-icon {
|
926
|
-
background-image: url("40px.png");
|
926
|
+
background-image: image-url("default-dark/40px.png");
|
927
927
|
}
|
928
928
|
.jstree-default-dark-responsive .jstree-node,
|
929
929
|
.jstree-default-dark-responsive .jstree-leaf > .jstree-ocl {
|
@@ -1025,7 +1025,7 @@
|
|
1025
1025
|
.jstree-default-dark-responsive .jstree-node > .jstree-ocl,
|
1026
1026
|
.jstree-default-dark-responsive .jstree-themeicon,
|
1027
1027
|
.jstree-default-dark-responsive .jstree-checkbox {
|
1028
|
-
background-image: url("40px.png");
|
1028
|
+
background-image: image-url("default-dark/40px.png");
|
1029
1029
|
background-size: 120px 240px;
|
1030
1030
|
}
|
1031
1031
|
.jstree-default-dark-responsive .jstree-node {
|
@@ -1047,11 +1047,11 @@
|
|
1047
1047
|
background-position: 0 0;
|
1048
1048
|
}
|
1049
1049
|
.jstree-default-dark-responsive .jstree-file {
|
1050
|
-
background: url("40px.png") 0 -160px no-repeat;
|
1050
|
+
background: image-url("default-dark/40px.png") 0 -160px no-repeat;
|
1051
1051
|
background-size: 120px 240px;
|
1052
1052
|
}
|
1053
1053
|
.jstree-default-dark-responsive .jstree-folder {
|
1054
|
-
background: url("40px.png") -40px -40px no-repeat;
|
1054
|
+
background: image-url("default-dark/40px.png") -40px -40px no-repeat;
|
1055
1055
|
background-size: 120px 240px;
|
1056
1056
|
}
|
1057
1057
|
.jstree-default-dark-responsive > .jstree-container-ul > .jstree-node {
|
@@ -395,7 +395,7 @@
|
|
395
395
|
}
|
396
396
|
.jstree-default .jstree-node,
|
397
397
|
.jstree-default .jstree-icon {
|
398
|
-
background-image: url("32px.png");
|
398
|
+
background-image: image-url("default/32px.png");
|
399
399
|
}
|
400
400
|
.jstree-default .jstree-node {
|
401
401
|
background-position: -292px -4px;
|
@@ -500,13 +500,13 @@
|
|
500
500
|
background-position: 0 0;
|
501
501
|
}
|
502
502
|
.jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
503
|
-
background: url("throbber.gif") center center no-repeat;
|
503
|
+
background: image-url("default/throbber.gif") center center no-repeat;
|
504
504
|
}
|
505
505
|
.jstree-default .jstree-file {
|
506
|
-
background: url("32px.png") -100px -68px no-repeat;
|
506
|
+
background: image-url("default/32px.png") -100px -68px no-repeat;
|
507
507
|
}
|
508
508
|
.jstree-default .jstree-folder {
|
509
|
-
background: url("32px.png") -260px -4px no-repeat;
|
509
|
+
background: image-url("default/32px.png") -260px -4px no-repeat;
|
510
510
|
}
|
511
511
|
.jstree-default > .jstree-container-ul > .jstree-node {
|
512
512
|
margin-left: 0;
|
@@ -518,7 +518,7 @@
|
|
518
518
|
}
|
519
519
|
#jstree-dnd.jstree-default .jstree-ok,
|
520
520
|
#jstree-dnd.jstree-default .jstree-er {
|
521
|
-
background-image: url("32px.png");
|
521
|
+
background-image: image-url("default/32px.png");
|
522
522
|
background-repeat: no-repeat;
|
523
523
|
background-color: transparent;
|
524
524
|
}
|
@@ -568,7 +568,7 @@
|
|
568
568
|
}
|
569
569
|
.jstree-default-small .jstree-node,
|
570
570
|
.jstree-default-small .jstree-icon {
|
571
|
-
background-image: url("32px.png");
|
571
|
+
background-image: image-url("default/32px.png");
|
572
572
|
}
|
573
573
|
.jstree-default-small .jstree-node {
|
574
574
|
background-position: -295px -7px;
|
@@ -673,13 +673,13 @@
|
|
673
673
|
background-position: 0 0;
|
674
674
|
}
|
675
675
|
.jstree-default-small > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
676
|
-
background: url("throbber.gif") center center no-repeat;
|
676
|
+
background: image-url("default/throbber.gif") center center no-repeat;
|
677
677
|
}
|
678
678
|
.jstree-default-small .jstree-file {
|
679
|
-
background: url("32px.png") -103px -71px no-repeat;
|
679
|
+
background: image-url("default/32px.png") -103px -71px no-repeat;
|
680
680
|
}
|
681
681
|
.jstree-default-small .jstree-folder {
|
682
|
-
background: url("32px.png") -263px -7px no-repeat;
|
682
|
+
background: image-url("default/32px.png") -263px -7px no-repeat;
|
683
683
|
}
|
684
684
|
.jstree-default-small > .jstree-container-ul > .jstree-node {
|
685
685
|
margin-left: 0;
|
@@ -691,7 +691,7 @@
|
|
691
691
|
}
|
692
692
|
#jstree-dnd.jstree-default-small .jstree-ok,
|
693
693
|
#jstree-dnd.jstree-default-small .jstree-er {
|
694
|
-
background-image: url("32px.png");
|
694
|
+
background-image: image-url("default/32px.png");
|
695
695
|
background-repeat: no-repeat;
|
696
696
|
background-color: transparent;
|
697
697
|
}
|
@@ -741,7 +741,7 @@
|
|
741
741
|
}
|
742
742
|
.jstree-default-large .jstree-node,
|
743
743
|
.jstree-default-large .jstree-icon {
|
744
|
-
background-image: url("32px.png");
|
744
|
+
background-image: image-url("default/32px.png");
|
745
745
|
}
|
746
746
|
.jstree-default-large .jstree-node {
|
747
747
|
background-position: -288px 0px;
|
@@ -846,13 +846,13 @@
|
|
846
846
|
background-position: 0 0;
|
847
847
|
}
|
848
848
|
.jstree-default-large > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
849
|
-
background: url("throbber.gif") center center no-repeat;
|
849
|
+
background: image-url("default/throbber.gif") center center no-repeat;
|
850
850
|
}
|
851
851
|
.jstree-default-large .jstree-file {
|
852
|
-
background: url("32px.png") -96px -64px no-repeat;
|
852
|
+
background: image-url("default/32px.png") -96px -64px no-repeat;
|
853
853
|
}
|
854
854
|
.jstree-default-large .jstree-folder {
|
855
|
-
background: url("32px.png") -256px 0px no-repeat;
|
855
|
+
background: image-url("default/32px.png") -256px 0px no-repeat;
|
856
856
|
}
|
857
857
|
.jstree-default-large > .jstree-container-ul > .jstree-node {
|
858
858
|
margin-left: 0;
|
@@ -864,7 +864,7 @@
|
|
864
864
|
}
|
865
865
|
#jstree-dnd.jstree-default-large .jstree-ok,
|
866
866
|
#jstree-dnd.jstree-default-large .jstree-er {
|
867
|
-
background-image: url("32px.png");
|
867
|
+
background-image: image-url("default/32px.png");
|
868
868
|
background-repeat: no-repeat;
|
869
869
|
background-color: transparent;
|
870
870
|
}
|
@@ -899,12 +899,12 @@
|
|
899
899
|
height: 40px;
|
900
900
|
}
|
901
901
|
#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
|
902
|
-
background-image: url("40px.png");
|
902
|
+
background-image: image-url("default/40px.png");
|
903
903
|
background-position: 0 -200px;
|
904
904
|
background-size: 120px 240px;
|
905
905
|
}
|
906
906
|
#jstree-dnd.jstree-dnd-responsive > .jstree-er {
|
907
|
-
background-image: url("40px.png");
|
907
|
+
background-image: image-url("default/40px.png");
|
908
908
|
background-position: -40px -200px;
|
909
909
|
background-size: 120px 240px;
|
910
910
|
}
|
@@ -923,7 +923,7 @@
|
|
923
923
|
*/
|
924
924
|
}
|
925
925
|
.jstree-default-responsive .jstree-icon {
|
926
|
-
background-image: url("40px.png");
|
926
|
+
background-image: image-url("default/40px.png");
|
927
927
|
}
|
928
928
|
.jstree-default-responsive .jstree-node,
|
929
929
|
.jstree-default-responsive .jstree-leaf > .jstree-ocl {
|
@@ -1025,7 +1025,7 @@
|
|
1025
1025
|
.jstree-default-responsive .jstree-node > .jstree-ocl,
|
1026
1026
|
.jstree-default-responsive .jstree-themeicon,
|
1027
1027
|
.jstree-default-responsive .jstree-checkbox {
|
1028
|
-
background-image: url("40px.png");
|
1028
|
+
background-image: image-url("default/40px.png");
|
1029
1029
|
background-size: 120px 240px;
|
1030
1030
|
}
|
1031
1031
|
.jstree-default-responsive .jstree-node {
|
@@ -1047,11 +1047,11 @@
|
|
1047
1047
|
background-position: 0 0;
|
1048
1048
|
}
|
1049
1049
|
.jstree-default-responsive .jstree-file {
|
1050
|
-
background: url("40px.png") 0 -160px no-repeat;
|
1050
|
+
background: image-url("default/40px.png") 0 -160px no-repeat;
|
1051
1051
|
background-size: 120px 240px;
|
1052
1052
|
}
|
1053
1053
|
.jstree-default-responsive .jstree-folder {
|
1054
|
-
background: url("40px.png") -40px -40px no-repeat;
|
1054
|
+
background: image-url("default/40px.png") -40px -40px no-repeat;
|
1055
1055
|
background-size: 120px 240px;
|
1056
1056
|
}
|
1057
1057
|
.jstree-default-responsive > .jstree-container-ul > .jstree-node {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jstree-rails-4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kesha Antonov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|