From 9b87b91c35b19cf1895084e8696521e332ebf896 Mon Sep 17 00:00:00 2001 From: supriya Date: Thu, 5 Jul 2012 12:50:20 +0530 Subject: linked orgitdown to the edit link on the template --- .../gstudio/js/orgitdown/orgitdown/sets/savedata.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gstudio/static/gstudio/js/orgitdown/orgitdown/sets/savedata.js (limited to 'gstudio/static/gstudio/js/orgitdown/orgitdown/sets/savedata.js') diff --git a/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/savedata.js b/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/savedata.js new file mode 100644 index 0000000..f407075 --- /dev/null +++ b/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/savedata.js @@ -0,0 +1,15 @@ + $.noConflict(); + jQuery(document).ready(function($) { + // Code that uses jQuery's $ can follow here. + $("#editdata").click(function(){ + // $("html").css({"margin":"0","padding": "0","overflow":"hidden","height": "100%"}); + $("#chart").hide(); + document.getElementById('gnoweditor').style.visibility="visible"; + //$("#gnoweditor").show(); + $("#gnoweditor").orgitdown(mySettings); + // alert($("#gnoweditor").val()); + + }); + + }); + -- cgit v1.1