summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/jqTree/static/examples/save_state.js
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jqTree/static/examples/save_state.js')
-rw-r--r--ecomp-portal-FE/client/bower_components/jqTree/static/examples/save_state.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/static/examples/save_state.js b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/save_state.js
new file mode 100644
index 00000000..252bf368
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/save_state.js
@@ -0,0 +1,13 @@
+$.mockjax({
+ url: '*',
+ response: function(options) {
+ this.responseText = ExampleData.example_data;
+ },
+ responseTime: 0
+});
+
+$(function() {
+ $('#tree1').tree({
+ saveState: true
+ });
+});