зеркало из https://github.com/mozilla/gecko-dev.git
Use 'Images and Link' for properties menuitem when image is also a link, b=127541, r=brade, sr=kin, a=asa
This commit is contained in:
Родитель
30e51ec914
Коммит
3a9c4d6001
|
@ -1751,6 +1751,8 @@ function InitObjectPropertiesMenuitem(id)
|
|||
switch (name)
|
||||
{
|
||||
case "img":
|
||||
// Check if img is enclosed in link
|
||||
// (use "href" to not be fooled by named anchor)
|
||||
if (editorShell.GetElementOrParentByTagName("href", element))
|
||||
objStr = GetString("ImageAndLink");
|
||||
else
|
||||
|
|
|
@ -116,6 +116,7 @@ NestedTable=Nested Table
|
|||
HLine=Horizontal Line
|
||||
Link=Link
|
||||
Image=Image
|
||||
ImageAndLink=Image and Link
|
||||
NamedAnchor=Named Anchor
|
||||
List=List
|
||||
ListItem=List Item
|
||||
|
|
Загрузка…
Ссылка в новой задаче