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:
sfraser%netscape.com 2006-07-29 05:34:31 +00:00
Родитель c9095435e0
Коммит 691d3eff59
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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() {