Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / jqTree / static / examples / save_state.js
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 (file)
index 0000000..252bf36
--- /dev/null
@@ -0,0 +1,13 @@
+$.mockjax({
+    url: '*',
+    response: function(options) {
+        this.responseText = ExampleData.example_data;
+    },
+    responseTime: 0
+});
+
+$(function() {
+    $('#tree1').tree({
+        saveState: true
+    });
+});