mail views list dialog should be modal to the 3 pane.
r/sr=bienvenu, a=asa
This commit is contained in:
sspitzer%netscape.com 2003-01-30 06:48:04 +00:00
Родитель 93107b392e
Коммит 74c4a4736b
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -17,6 +17,7 @@
*
* Contributors:
* Scott MacGregor <mscott@netscape.com>
* Seth Spitzer <sspitzer@netscape.com>
*/
const kPersonalAddressbookURI = "moz-abmdbdirectory://abook.mab";
@ -96,8 +97,9 @@ function viewPickerOnLoad()
function LaunchCustomizeDialog()
{
OpenOrFocusWindow({onOkCallback: refreshCustomMailViews, onCancelCallback: cancelCustomMailViews}, 'mailnews:mailviewlist', 'chrome://messenger/content/mailViewList.xul');
// window.openDialog('chrome://messenger/content/mailViewList.xul', "", 'centerscreen,resizeable,titlebar,chrome', {onOkCallback: refreshCustomMailViews});
// making it modal, see bug #191188
//OpenOrFocusWindow({onOkCallback: refreshCustomMailViews, onCancelCallback: cancelCustomMailViews}, 'mailnews:mailviewlist', 'chrome://messenger/content/mailViewList.xul');
window.openDialog("chrome://messenger/content/mailViewList.xul", "mailnews:mailviewlist", "chrome,modal,titlebar,resizable,centerscreen", {onOkCallback: refreshCustomMailViews, onCancelCallback: cancelCustomMailViews});
}
function LoadCustomMailView(index)