big CSS improvement in the dropdown of the editbar + fixed a bug in the header DOM generation that caused breakage in the authorship highlighting code

This commit is contained in:
Jean-Tiare Le Bigot 2012-03-02 22:20:56 +01:00
parent 457f9f913d
commit d95f08536b
4 changed files with 88 additions and 46 deletions

View file

@ -156,7 +156,8 @@ var padeditbar = (function()
}
else if (cmd == "style")
{
var value = document.getElementById("style-select").value;
dropdown = document.getElementById("style-select");
var value = dropdown.value;
var style = value.split('-');
if(style[0]=="title")
{
@ -166,6 +167,7 @@ var padeditbar = (function()
{
ace.ace_doRevertBlockStyle();
}
dropdown.selectedIndex = 0;
}
else if (cmd == 'clearauthorship')
{