Commit 3ae99833 authored by Lingnan Wu's avatar Lingnan Wu

after adding the slides ,close the iframe

parent 338ae558
......@@ -359,6 +359,9 @@ $(document).ready(function(){
$(section).append(image);
}
appendSection();
//close the iframe after adding.
var iframe=window.parent.document.getElementById('iframe_add_slide');
iframe.parentNode.removeChild(iframe);
});
}
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