fix editbar position, stop popups from closing on open

iframes-must-die
John McLear 2015-04-12 19:02:49 +01:00
parent ea7f4079fb
commit 06aa9e4db6
2 changed files with 4 additions and 5 deletions

View File

@ -54,6 +54,9 @@ a img {
width: 100%;
white-space: nowrap;
height: 32px;
position:fixed;
top:0;
z-index:9;
}
.toolbar ul {
position: absolute;

View File

@ -373,7 +373,7 @@ function Ace2Inner(editorInfo){
if (currentCallStack)
{
console.error("Can't enter callstack " + type + ", already in " + currentCallStack.type);
console.log("Can't enter callstack " + type + ", already in " + currentCallStack.type);
}
var profiling = false;
@ -3335,10 +3335,6 @@ function Ace2Inner(editorInfo){
evt.preventDefault();
}
}
//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/ether/etherpad-lite/issues/327
window.parent.parent.padeditbar.toggleDropDown("none");
}
}
function doReturnKey()