mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Bug 1215856 - "":" should not be selected or copied in Title field". r=dtownsend
This commit is contained in:
parent
ed70f39ba2
commit
03da3ee9bf
@ -529,7 +529,7 @@ function openCacheEntry(key, cb)
|
||||
|
||||
function makeGeneralTab(metaViewRows, docInfo)
|
||||
{
|
||||
var title = (docInfo.title) ? gBundle.getFormattedString("pageTitle", [docInfo.title]) : gBundle.getString("noPageTitle");
|
||||
var title = (docInfo.title) ? docInfo.title : gBundle.getString("noPageTitle");
|
||||
document.getElementById("titletext").value = title;
|
||||
|
||||
var url = docInfo.location;
|
||||
|
@ -88,7 +88,6 @@
|
||||
<deck id="mainDeck" flex="1">
|
||||
<!-- General page information -->
|
||||
<vbox id="generalPanel">
|
||||
<textbox class="header" readonly="true" id="titletext"/>
|
||||
<grid id="generalGrid">
|
||||
<columns>
|
||||
<column/>
|
||||
@ -96,6 +95,11 @@
|
||||
<column flex="1"/>
|
||||
</columns>
|
||||
<rows id="generalRows">
|
||||
<row id="generalTitle">
|
||||
<label control="titletext" value="&generalTitle;"/>
|
||||
<separator/>
|
||||
<textbox readonly="true" id="titletext"/>
|
||||
</row>
|
||||
<row id="generalURLRow">
|
||||
<label control="urltext" value="&generalURL;"/>
|
||||
<separator/>
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
<!ENTITY generalTab "General">
|
||||
<!ENTITY generalTab.accesskey "G">
|
||||
<!ENTITY generalTitle "Title:">
|
||||
<!ENTITY generalURL "Address:">
|
||||
<!ENTITY generalType "Type:">
|
||||
<!ENTITY generalMode "Render Mode:">
|
||||
|
@ -6,7 +6,6 @@ pageInfo.page.title=Page Info - %S
|
||||
pageInfo.frame.title=Frame Info - %S
|
||||
|
||||
noPageTitle=Untitled Page:
|
||||
pageTitle=%S:
|
||||
unknown=Unknown
|
||||
notset=Not specified
|
||||
yes=Yes
|
||||
|
Loading…
Reference in New Issue
Block a user