mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
remove dead code. #92960. rs=mscott
This commit is contained in:
parent
59830ffa9e
commit
931752ef07
@ -52,8 +52,6 @@ messengerdnd.js
|
||||
mailContextMenus.js
|
||||
msgPrintEngine.js
|
||||
msgPrintEngine.xul
|
||||
openSaveAttachment.xul
|
||||
openSaveAttachment.js
|
||||
mailTasksOverlay.xul
|
||||
mailNavigatorOverlay.xul
|
||||
mailEditorOverlay.xul
|
||||
|
@ -63,8 +63,6 @@ CHROME_CONTENT = \
|
||||
.\mailContextMenus.js \
|
||||
.\msgPrintEngine.js \
|
||||
.\msgPrintEngine.xul \
|
||||
.\openSaveAttachment.xul \
|
||||
.\openSaveAttachment.js \
|
||||
.\mailTasksOverlay.xul \
|
||||
.\mailNavigatorOverlay.xul \
|
||||
.\mailEditorOverlay.xul \
|
||||
|
@ -1,60 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is Mozilla Communicator client code, released
|
||||
* March 31, 1998.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Henrik Gemal <gemal@gemal.dk>
|
||||
*/
|
||||
|
||||
function onLoad()
|
||||
{
|
||||
var docnamebox = document.getElementById("documentNameBox");
|
||||
if (docnamebox)
|
||||
{
|
||||
var docname = window.arguments[0].dspname;
|
||||
var item = document.createElement('text');
|
||||
if (item)
|
||||
{
|
||||
docnamebox.appendChild(item);
|
||||
item.setAttribute('value', unescape(docname));
|
||||
}
|
||||
}
|
||||
var saveit = document.getElementById("saveIt");
|
||||
if (saveit)
|
||||
{
|
||||
window.arguments[0].opval = 2;
|
||||
}
|
||||
doSetOKCancel(0, onCancel, 0, 0);
|
||||
moveToAlertPosition();
|
||||
}
|
||||
|
||||
function onOpen()
|
||||
{
|
||||
window.arguments[0].opval = 1;
|
||||
}
|
||||
|
||||
function onSave()
|
||||
{
|
||||
window.arguments[0].opval = 2;
|
||||
}
|
||||
|
||||
function onCancel()
|
||||
{
|
||||
window.arguments[0].opval = 0;
|
||||
return true;
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://messenger/skin/folderPane.css" text="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/messenger.dtd">
|
||||
<window id="open-save-attachment"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
flex="100%" class="dialog" title="&openSaveAttachment.title;"
|
||||
orient="vertical" onload="onLoad();" onclose="onCancel();" >
|
||||
|
||||
<script src="chrome://messenger/content/openSaveAttachment.js"/>
|
||||
|
||||
<hbox width="360px">
|
||||
<vbox>
|
||||
<image class="question-icon"/>
|
||||
<spring flex="1"/>
|
||||
</vbox>
|
||||
<hbox width="10px" />
|
||||
<vbox flex="1">
|
||||
<separator class="thin"/>
|
||||
<hbox id="documentNameBox">
|
||||
<text value="&openSaveAttachmentHeading.label;" />
|
||||
</hbox>
|
||||
<separator class="thin"/>
|
||||
<html>&openSaveAttachmentWarning.label;</html>
|
||||
<separator class="thin"/>
|
||||
<text value="&openSaveAttachmentToDo.label;" />
|
||||
<separator class="thin"/>
|
||||
<radiogroup orient="vertical" id="openSaveGroup">
|
||||
<radio group="openSaveGroup" label="&openSaveAttachmentOpen.label;" oncommand="onOpen();" />
|
||||
<radio group="openSaveGroup" id="saveIt" label="&openSaveAttachmentSave.label;" oncommand="onSave();" checked="true"/>
|
||||
</radiogroup>
|
||||
<separator class="thin"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<separator class="thin"/>
|
||||
<hbox id="okCancelButtons"/>
|
||||
</window>
|
@ -124,8 +124,6 @@ messenger.jar:
|
||||
content/messenger/mailContextMenus.js (base/resources/content/mailContextMenus.js)
|
||||
content/messenger/msgPrintEngine.js (base/resources/content/msgPrintEngine.js)
|
||||
content/messenger/msgPrintEngine.xul (base/resources/content/msgPrintEngine.xul)
|
||||
content/messenger/openSaveAttachment.xul (base/resources/content/openSaveAttachment.xul)
|
||||
content/messenger/openSaveAttachment.js (base/resources/content/openSaveAttachment.js)
|
||||
content/messenger/mailTasksOverlay.xul (base/resources/content/mailTasksOverlay.xul)
|
||||
content/messenger/mailNavigatorOverlay.xul (base/resources/content/mailNavigatorOverlay.xul)
|
||||
content/messenger/mailEditorOverlay.xul (base/resources/content/mailEditorOverlay.xul)
|
||||
|
Loading…
Reference in New Issue
Block a user