diff options
author | anujag <anujag@anujag-D630.(none)> | 2012-12-14 14:24:09 +0530 |
---|---|---|
committer | anujag <anujag@anujag-D630.(none)> | 2012-12-14 14:24:09 +0530 |
commit | f5aa055c011c0cf60b7722da2a3d6192a233122d (patch) | |
tree | fb253681e989a1efc46999e198b2c5f9797758b3 /gstudio/static/gstudio/js/orgitdown/orgitdown | |
parent | 3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36 (diff) | |
download | gnowsys-f5aa055c011c0cf60b7722da2a3d6192a233122d.tar.gz |
Updated code with recent changes
Diffstat (limited to 'gstudio/static/gstudio/js/orgitdown/orgitdown')
-rw-r--r-- | gstudio/static/gstudio/js/orgitdown/orgitdown/jquery.orgitdown.js | 6 | ||||
-rw-r--r-- | gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/images/video.jpeg | bin | 0 -> 440 bytes | |||
-rw-r--r-- | gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/set.js | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gstudio/static/gstudio/js/orgitdown/orgitdown/jquery.orgitdown.js b/gstudio/static/gstudio/js/orgitdown/orgitdown/jquery.orgitdown.js index 6e207a0..78974fd 100644 --- a/gstudio/static/gstudio/js/orgitdown/orgitdown/jquery.orgitdown.js +++ b/gstudio/static/gstudio/js/orgitdown/orgitdown/jquery.orgitdown.js @@ -474,7 +474,8 @@ $("#save1").trigger('click');} if (isNode){ $("#savenodecontent").trigger('click');} - + if (isObject){ + $("#saveobjectcontent").trigger('click');} if (editWikipage){ $(".savepagecontent").trigger('click');} if (isSection){ @@ -505,7 +506,8 @@ $("#save"+objid).trigger('click');} if (isVideotitle){ $("#titlesave").trigger('click');} - + if(isSubResponse){ + saveclick(objid);} } // open preview window diff --git a/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/images/video.jpeg b/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/images/video.jpeg Binary files differnew file mode 100644 index 0000000..8edf9d6 --- /dev/null +++ b/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/images/video.jpeg diff --git a/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/set.js b/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/set.js index 17121d7..3ed79ff 100644 --- a/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/set.js +++ b/gstudio/static/gstudio/js/orgitdown/orgitdown/sets/org/set.js @@ -26,6 +26,7 @@ var mySettings = { {name:'Picture', key:'P', replaceWith:'\n#+CAPTION: \n#+ATTR_HTML: width="600" \n[[http:fileName.jpg]]\n' }, {name:'Link', key:'L', openWith:'[[http://your.address.com here/][Your visible link text here]]', closeWith:'', placeHolder:'' }, {separator:'---------------' }, + {name:'Insert Embed Html',replaceWith:'\n#+BEGIN_HTML \n#+END_HTML\n' }, {name:'Close',call:'close' } //{name:'Clean', className:'clean', replaceWith:function(orgitdown) { return orgitdown.selection.replace(/<(.*?)>/g, "") } } |