mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
select the embed code when it drops down
This commit is contained in:
parent
cbbb0a4ed1
commit
7915390b83
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ var padeditbar = (function()
|
|||
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>');
|
||||
self.toogleDropDown("embed");
|
||||
$('#embedinput').focus().select();
|
||||
}
|
||||
else if (cmd == 'save')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue