Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / jqTree / _entries / 26_onloadfailed.md
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/_entries/26_onloadfailed.md b/ecomp-portal-FE/client/bower_components/jqTree/_entries/26_onloadfailed.md
new file mode 100644 (file)
index 0000000..42fe248
--- /dev/null
@@ -0,0 +1,15 @@
+---
+title: onLoadFailed
+name: options-onloadfailed
+---
+
+When loading the data by ajax fails, then the option **onLoadFailed** is called.
+
+{% highlight js %}
+$('#tree1').tree({
+    dataUrl: '/my/data/',
+    onLoadFailed: function(response) {
+        //
+    }
+});
+{% endhighlight %}