This commit is contained in:
Liang Ding 2015-02-16 14:24:33 +08:00
parent 82b924c171
commit 5ecaff8c8f
2 changed files with 3 additions and 3 deletions

View File

@ -290,8 +290,8 @@ var playground = {
}
var url = window.location.protocol + "//" + window.location.host + '/playground/' + data.fileName;
var html = 'URL: <a href="' + url + '" target="_blank">' + url + "</a><br/>";
html += "Embeded: xxxx";
var html = 'URL: <a href="' + url + '" target="_blank">' + url + "</a><br/>";
html += 'Embeded: <br/><textarea rows="5" cols="80"><p><iframe src="' + url + '?embed=true" width="100%" height="600"></iframe></p></textarea>';
$("#dialogShare").html(html);
$("#dialogShare").dialog("open");

View File

@ -72,7 +72,7 @@
</div>
<div id="dialogAbout" class="fn-none"></div>
<div id="dialogShare" class="fn-none">share!</div>
<div id="dialogShare" class="fn-none"></div>
<script>
var config = {
"context": "{{.conf.Context}}",