зеркало из https://github.com/mozilla/gecko-dev.git
Add note about a workaround.
This commit is contained in:
Родитель
dfe8d5b156
Коммит
1b433c0802
|
@ -73,8 +73,11 @@
|
|||
<spacer flex="1"/>
|
||||
<textbox id="userAgent" multiline="true" readonly="true" cols="60"/>
|
||||
<spacer flex="1"/>
|
||||
<html:a href="©rightLink;"
|
||||
target="_new"
|
||||
/* XXXBlake This is a workaround. I find that if I try to use href and I open
|
||||
About as a modal dialog, a new browser window opens when I click the link
|
||||
but the page doesn't load in it. */
|
||||
<html:a onclick="window.openDialog('chrome://browser/content', 'Phoenix', 'chrome,all,dialog=no', '©rightLink;');"
|
||||
href=""
|
||||
style="display: block; color: blue; text-decoration: underline;">©right;</html:a>
|
||||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
|
|
|
@ -2484,7 +2484,7 @@ function goAboutDialog()
|
|||
{
|
||||
// XXXBlake -- the about dialog should be modal, but then clicking the link in it just opens
|
||||
// a blank browser window (the page isn't loaded).
|
||||
window.openDialog("chrome://browser/content/aboutDialog.xul", "About", "modal=no,centerscreen,chrome,resizable=no");
|
||||
window.openDialog("chrome://browser/content/aboutDialog.xul", "About", "modal,centerscreen,chrome,resizable=no");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<!ENTITY aboutDialog.title "About &brandShortName;">
|
||||
<!ENTITY copyright "Copyright and contributor information">
|
||||
<!ENTITY copyrightLink "http://www.mozilla.org/projects/phoenix/">
|
||||
<!ENTITY copyrightLink "about:">
|
Загрузка…
Ссылка в новой задаче