Temporary fix that was breaking clicks inside of embedded pads

This commit is contained in:
John McLear 2012-01-15 18:24:18 +00:00
parent 6b49a56e01
commit 5f46ac2b01
1 changed files with 3 additions and 1 deletions

View File

@ -3488,7 +3488,9 @@ function OUTER(gscope)
function handleClick(evt)
{
//hide the dropdowns
window.top.padeditbar.toogleDropDown("none");
if(window.top.padeditbar){ // required in case its in an iframe should probably use parent.. See Issue 327 https://github.com/Pita/etherpad-lite/issues/327
window.top.padeditbar.toogleDropDown("none");
}
inCallStack("handleClick", function()
{