зеркало из https://github.com/mozilla/pjs.git
Make dialogs have titlebars (fallout from bug 41741, fixes bugs 50388, 50389, 50738, 50739, 50747). Simple addition of "titlebar" to chrome flags.
This commit is contained in:
Родитель
c9095435e0
Коммит
691d3eff59
|
@ -61,7 +61,7 @@ function goEditCardDialog(abURI, card, okCallback)
|
|||
{
|
||||
window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xul",
|
||||
"",
|
||||
"chrome,resizeable=no,modal",
|
||||
"chrome,resizeable=no,modal,titlebar",
|
||||
{abURI:abURI, card:card, okCallback:okCallback});
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ function goPreferences(id, paneURL, paneID)
|
|||
}
|
||||
var modality = prefWindowModalityPref ? "yes" : "no";
|
||||
|
||||
var prefWindow = window.openDialog("chrome://communicator/content/pref/pref.xul","PrefWindow", "chrome,modal=" + modality+ ",resizable=yes", paneURL, paneID);
|
||||
var prefWindow = window.openDialog("chrome://communicator/content/pref/pref.xul","PrefWindow", "chrome,titlebar,modal=" + modality+ ",resizable=yes", paneURL, paneID);
|
||||
}
|
||||
|
||||
function okToCapture() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче