diff options
Diffstat (limited to 'objectapp/static/objectapp/js/Gnowmacs/src/js/editorload.js')
-rw-r--r-- | objectapp/static/objectapp/js/Gnowmacs/src/js/editorload.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/objectapp/static/objectapp/js/Gnowmacs/src/js/editorload.js b/objectapp/static/objectapp/js/Gnowmacs/src/js/editorload.js new file mode 100644 index 00000000..294efa72 --- /dev/null +++ b/objectapp/static/objectapp/js/Gnowmacs/src/js/editorload.js @@ -0,0 +1,28 @@ + $.noConflict(); + jQuery(document).ready(function($) { + // Code that uses jQuery's $ can follow here. + $("#editdata").click(function(){ + alert("test"); + $("#sidebar").hide(); + $("#gnoweditor").gnowmacs(); + + // var org_data = encodeURIComponent($("#bufferdata").val()); + // alert("encode" +org_data); + + // alert("supriya"); + // var content = $("#bufferdata").val(); + // var iden = $("#objectid").val(); + // alert ("data" + content); + //alert ("id" +iden); + // url = "/nodetypes/ajax/contentorgadd/?id=" + iden + "&contentorg=" +content; + // alert(url); + // $.get(url, + // function(data){ + // alert("qqq" + data); + // }) + + }); + + }); + // Code that uses other library's $ can follow here. + |