diff options
author | supriya <supriya@dragbox.(none)> | 2012-07-05 12:50:20 +0530 |
---|---|---|
committer | supriya <supriya@dragbox.(none)> | 2012-07-05 12:50:20 +0530 |
commit | 9b87b91c35b19cf1895084e8696521e332ebf896 (patch) | |
tree | a8ba7af83d390336a2d2dfa3fc05bdf82afc9bb2 /gstudio/static/gstudio/js/orgitdown/orgitdown/sets/savedata.js | |
parent | ab428bbe537325f537898f1e2240905d492367e1 (diff) | |
download | gnowsys-9b87b91c35b19cf1895084e8696521e332ebf896.tar.gz |
linked orgitdown to the edit link on the template
Diffstat (limited to 'gstudio/static/gstudio/js/orgitdown/orgitdown/sets/savedata.js')
-rw-r--r-- | gstudio/static/gstudio/js/orgitdown/orgitdown/sets/savedata.js | 15 |
1 files changed, 15 insertions, 0 deletions
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()); + + }); + + }); + |