summaryrefslogtreecommitdiff
path: root/gstudio/static
diff options
context:
space:
mode:
authorsupriya <supriya@dragbox.(none)>2012-08-13 17:21:33 +0530
committersupriya <supriya@dragbox.(none)>2012-08-13 17:21:33 +0530
commitc46d21012bdb0cad3c4e2313586b0a5ea740bcbe (patch)
treec65c22c4cd91649b08eca53ce6795c596fc492c8 /gstudio/static
parenteffc9ec794486e4551890f62e710b88843abfc00 (diff)
downloadgnowsys-c46d21012bdb0cad3c4e2313586b0a5ea740bcbe.tar.gz
tags added to wikipage
Diffstat (limited to 'gstudio/static')
-rw-r--r--gstudio/static/gstudio/js/addcontent.js26
1 files changed, 11 insertions, 15 deletions
diff --git a/gstudio/static/gstudio/js/addcontent.js b/gstudio/static/gstudio/js/addcontent.js
index fe4f51c..655e2f5 100644
--- a/gstudio/static/gstudio/js/addcontent.js
+++ b/gstudio/static/gstudio/js/addcontent.js
@@ -4,6 +4,7 @@
$("#addcontent").one("click",function(){
//var abc = document.getElementById('pageid1').value;
//window.location.replace('sectionadd1/'+abc);
+ $("#save").show();
$("#chart").hide();
// var orgdata = document.getElementById('orgcontent').value;
document.getElementById('gnoweditor').style.visibility="visible";
@@ -27,6 +28,7 @@
$("#chart").hide();
document.getElementById('gnoweditor').style.visibility="visible";
$("#gnoweditor").orgitdown(mySettings);
+ $("#save1").show();
});
$("#save1").one("click",function() {
var org_data = $("#gnoweditor").val();
@@ -36,6 +38,8 @@
});
$("#editseccontent").one("click",function(){
+ $("#saveseccontent").show();
+
$("#chart").hide();
document.getElementById('gnoweditor').style.visibility="visible";
$("#gnoweditor").orgitdown(mySettings);
@@ -44,10 +48,6 @@
var screenTop = $(document).scrollTop();
$(".orgitdownContainer").css({
"margin-top":screenTop,});
- $("#savesubsec").hide();
- $("#savesubsec1").hide();
- $("#savepagecontent").hide();
-
});
$("#saveseccontent").one("click",function(){
var org_data = $("#gnoweditor").val();
@@ -85,6 +85,8 @@
});
$("#editsubsec").one("click",function(){
+ $("#savesubsec1").show();
+
$("#chart").hide();
document.getElementById('gnoweditor').style.visibility="visible";
$("#gnoweditor").orgitdown(mySettings);
@@ -93,10 +95,7 @@
var screenTop = $(document).scrollTop();
$(".orgitdownContainer").css({
"margin-top":screenTop,});
- $("#savesubsec").hide();
- $("#saveseccontent").hide();
- $("#savepagecontent").hide();
-
+
});
$("#savesubsec1").one("click",function(){
var org_data = $("#gnoweditor").val();
@@ -136,6 +135,7 @@
$("#editpagecontent").one("click",function(){
$("#chart").hide();
+ $("#savepagecontent").show();
document.getElementById('gnoweditor').style.visibility="visible";
$("#gnoweditor").orgitdown(mySettings);
@@ -144,10 +144,6 @@
var screenTop = $(document).scrollTop();
$(".orgitdownContainer").css({
"margin-top":screenTop,});
- $("#saveseccontent").hide();
- $("#savesubsec").hide();
- $("#savesubsec1").hide();
-
});
$("#savepagecontent").one("click",function(){
@@ -189,6 +185,8 @@
$("#createsubsection").one("click",function(){
+ $("#savesubsec").show();
+
$("#chart").hide();
document.getElementById('gnoweditor').style.visibility="visible";
$("#gnoweditor").orgitdown(mySettings);
@@ -196,9 +194,7 @@
var screenTop = $(document).scrollTop();
$(".orgitdownContainer").css({
"margin-top":screenTop,});
- $("#savesubsec1").hide();
- $("#saveseccontent").hide();
- $("#savepagecontent").hide();
+
});
$("#savesubsec").one("click",function() {
var org_data = $("#gnoweditor").val();