diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jqTree/static/examples/drag_and_drop.js')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jqTree/static/examples/drag_and_drop.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/static/examples/drag_and_drop.js b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/drag_and_drop.js new file mode 100644 index 00000000..d638b0c3 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/drag_and_drop.js @@ -0,0 +1,15 @@ +$.mockjax({ + url: '*', + response: function(options) { + this.responseText = ExampleData.example_data; + }, + responseTime: 0 +}); + +$(function() { + var $tree = $('#tree1'); + $tree.tree({ + dragAndDrop: true, + autoOpen: 0 + }); +}); |