select the embed code when it drops down
parent
cbbb0a4ed1
commit
7915390b83
|
@ -103,6 +103,7 @@ var padeditbar = (function()
|
||||||
var padurl = document.location;
|
var padurl = document.location;
|
||||||
$('#embed').html('<div id="embedcode">Embed code:<input id="embedinput" type="text" value="<iframe src="' + padurl + '" width=500 height=400>"</iframe></div>');
|
$('#embed').html('<div id="embedcode">Embed code:<input id="embedinput" type="text" value="<iframe src="' + padurl + '" width=500 height=400>"</iframe></div>');
|
||||||
self.toogleDropDown("embed");
|
self.toogleDropDown("embed");
|
||||||
|
$('#embedinput').focus().select();
|
||||||
}
|
}
|
||||||
else if (cmd == 'save')
|
else if (cmd == 'save')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue