Commit 5c300415 authored by Lingnan Wu's avatar Lingnan Wu

delete the forms in slideEditor and slideCreator , click add button in...

delete the forms in slideEditor and slideCreator , click add button in slideCreator will not close the Editor
parent 150a2ece
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
<!-- this is a placeholder for different extensions to head which could be required by web themes --> <!-- this is a placeholder for different extensions to head which could be required by web themes -->
</head> </head>
<body> <body>
<form enctype="multipart/form-data" method="post" action="https://www.tiolive.com/nexedi" onsubmit="changed=false; return true" class="main_form" id="main_form">
<fieldset class="hidden_fieldset" id="hidden_fieldset"> <fieldset class="hidden_fieldset" id="hidden_fieldset">
<input type="submit" name="Base_callDialogMethod:method" value="dummy" class="hidden_button" id="hidden_button"> <input type="submit" name="Base_callDialogMethod:method" value="dummy" class="hidden_button" id="hidden_button">
<input type="hidden" value="" name="update_method"> <input type="hidden" value="" name="update_method">
...@@ -144,6 +143,5 @@ iframe.parentNode.removeChild(iframe);"> ...@@ -144,6 +143,5 @@ iframe.parentNode.removeChild(iframe);">
</button> </button>
</div> </div>
</div> </div>
</form>
</body> </body>
</html> </html>
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
<!-- this is a placeholder for different extensions to head which could be required by web themes --> <!-- this is a placeholder for different extensions to head which could be required by web themes -->
</head> </head>
<body> <body>
<form enctype="multipart/form-data" method="post" action="https://www.tiolive.com/nexedi" onsubmit="changed=false; return true" class="main_form" id="main_form">
<fieldset class="hidden_fieldset" id="hidden_fieldset"> <fieldset class="hidden_fieldset" id="hidden_fieldset">
<input type="submit" name="Base_callDialogMethod:method" value="dummy" class="hidden_button" id="hidden_button"/> <input type="submit" name="Base_callDialogMethod:method" value="dummy" class="hidden_button" id="hidden_button"/>
<input type="hidden" value="" name="update_method"/> <input type="hidden" value="" name="update_method"/>
...@@ -150,6 +149,5 @@ iframe.parentNode.removeChild(iframe);"> ...@@ -150,6 +149,5 @@ iframe.parentNode.removeChild(iframe);">
</button> </button>
</div> </div>
</div> </div>
</form>
</body> </body>
</html> </html>
...@@ -359,9 +359,6 @@ $(document).ready(function(){ ...@@ -359,9 +359,6 @@ $(document).ready(function(){
$(section).append(image); $(section).append(image);
} }
appendSection(); appendSection();
//close the iframe after adding.
var iframe=window.parent.document.getElementById('iframe_add_slide');
iframe.parentNode.removeChild(iframe);
}); });
} }
setTimeout(initFrame, 0); setTimeout(initFrame, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment