зеркало из https://github.com/mozilla/gecko-dev.git
Part of fix to table editor interface cleanup bug 166922. r=akkana, sr=hewitt
This commit is contained in:
Родитель
ebf2d5f9cd
Коммит
9243687fec
|
@ -1121,12 +1121,9 @@ function GetBackgroundElementWithColor()
|
||||||
gColorObj.SelectedType = "";
|
gColorObj.SelectedType = "";
|
||||||
|
|
||||||
var tagNameObj = { value: "" };
|
var tagNameObj = { value: "" };
|
||||||
var numSelected;
|
|
||||||
var element;
|
var element;
|
||||||
try {
|
try {
|
||||||
var elt = { value: null };
|
element = gEditor.getSelectedOrParentTableElement(tagNameObj, {value:0});
|
||||||
numSelected = gEditor.getSelectedOrParentTableElement(elt, tagNameObj);
|
|
||||||
element = elt.value;
|
|
||||||
}
|
}
|
||||||
catch(e) {}
|
catch(e) {}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче