summaryrefslogtreecommitdiff
path: root/static/website/js
diff options
context:
space:
mode:
authorJayaram R Pai2014-09-09 20:13:03 +0530
committerJayaram R Pai2014-09-09 20:13:03 +0530
commitbd7345a7f9fe0818071133c6ce752a163a60b9e8 (patch)
tree3bf3cbdddfe55b7ef7b390a236711f2c98c27162 /static/website/js
parent87abcafdc82e35b211a40bca96c609093eaa1c84 (diff)
downloadscilab-on-cloud-bd7345a7f9fe0818071133c6ce752a163a60b9e8.tar.gz
scilab-on-cloud-bd7345a7f9fe0818071133c6ce752a163a60b9e8.tar.bz2
scilab-on-cloud-bd7345a7f9fe0818071133c6ce752a163a60b9e8.zip
made node/data functional
Diffstat (limited to 'static/website/js')
-rw-r--r--static/website/js/cloud.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/static/website/js/cloud.js b/static/website/js/cloud.js
index 162da73..6ec1ba5 100644
--- a/static/website/js/cloud.js
+++ b/static/website/js/cloud.js
@@ -169,4 +169,12 @@ $(document).ready(function() {
}, {book_id: $("#books").val()});
e.preventDefault();
});
+
+ $(document).on("click", ".node", function(e){
+ Dajaxice.website.node(function(data) {
+ Dajax.process(data);
+ $("#databox-wrapper").lightbox_me({centered: true});
+ }, {key: $(this).data("key")});
+ e.preventDefault();
+ });
});