зеркало из https://github.com/mozilla/gecko-dev.git
fixes bug 324644 "Add list of pings to link properties dialog" r=beng
This commit is contained in:
Родитель
be51e2e6d0
Коммит
917257fd63
|
@ -234,6 +234,8 @@ function checkForLink(elem, htmllocalname)
|
|||
setInfo("link-type", elem.getAttribute("type"));
|
||||
setInfo("link-rel", elem.getAttribute("rel"));
|
||||
setInfo("link-rev", elem.getAttribute("rev"));
|
||||
var ping = elem.ping.replace(/ /g, '\n');
|
||||
setInfo("link-ping", ping);
|
||||
|
||||
var target = elem.target;
|
||||
|
||||
|
@ -271,6 +273,7 @@ function checkForLink(elem, htmllocalname)
|
|||
setInfo("link-type", "");
|
||||
setInfo("link-rel", "");
|
||||
setInfo("link-rev", "");
|
||||
setInfo("link-ping", "");
|
||||
|
||||
switch (elem.getAttributeNS(XLinkNS,"show")) {
|
||||
case "embed":
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
title="&caption.label;"
|
||||
onload="onLoad()"
|
||||
class="dialog"
|
||||
minwidth="350"
|
||||
style="width: 40em; height: 10em;"
|
||||
persist="screenX screenY"
|
||||
screenX="24" screenY="24">
|
||||
|
||||
|
@ -103,6 +103,11 @@
|
|||
<label value="&link-rev.label; "/>
|
||||
<textbox readonly="true" id="link-rev-text"/>
|
||||
</row>
|
||||
<row id="link-ping">
|
||||
<separator orient="vertical"/>
|
||||
<label value="&link-ping.label; "/>
|
||||
<textbox readonly="true" multiline="true" id="link-ping-text"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<separator/>
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
<!ENTITY link-lang.label "Target language:">
|
||||
<!ENTITY link-rel.label "Relation:">
|
||||
<!ENTITY link-rev.label "Reversed relation:">
|
||||
<!ENTITY link-ping.label "Will notify:">
|
||||
<!ENTITY misc-sec.label "Miscellaneous Properties">
|
||||
<!ENTITY misc-lang.label "Text language:">
|
||||
<!ENTITY misc-title.label "Title:">
|
||||
|
|
Загрузка…
Ссылка в новой задаче