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:
cmanske%netscape.com 2002-03-14 07:34:44 +00:00
Родитель 30e51ec914
Коммит 3a9c4d6001
2 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -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