Perma fix for issue #485 and #327

pull/505/merge
John McLear 2012-02-26 13:07:09 +00:00
parent 681e8415b6
commit 8d764cad33
1 changed files with 3 additions and 3 deletions

View File

@ -3305,9 +3305,9 @@ function Ace2Inner(){
evt.preventDefault();
}
}
//hide the dropdowns
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");
//hide the dropdownso
if(window.parent.parent.padeditbar){ // required in case its in an iframe should probably use parent.. See Issue 327 https://github.com/Pita/etherpad-lite/issues/327
window.parent.parent.padeditbar.toogleDropDown("none");
}
}